Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The fate of reduce() in Python 3000 (2005). Parent comment
>>> lookup = {} >>> for (x, lookup[x]) in ('ab', 'cd', 'ef'): ... pass ... >>> lookup {'a': 'b', 'c': 'd', 'e': 'f'}
(this was a great example btw -- I write python3 a lot, and I was staring at it for a long time before Icould figure it out)
There are no comments on this comment yet.
(this was a great example btw -- I write python3 a lot, and I was staring at it for a long time before Icould figure it out)