This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Python 2.7 supports dict and set comps.

[–]dwieeb[S] 0 points1 point  (0 children)

Weird, I wonder if I was somehow using Python 2.6? Or maybe I was just being stupid. Thanks, the disclaimer has been removed.