A really bad idea.
Dave Brueck
dave at solussoftware.com
Fri Nov 15 15:08:57 EST 2002
More information about the Python-list mailing list
Fri Nov 15 15:08:57 EST 2002
- Previous message (by thread): A really bad idea.
- Next message (by thread): A really bad idea.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 15 Nov 2002, Tim Peters wrote: > [Dave Brueck] > > It's funny what people do and don't find readable, huh? I use list > > comps all the time because to me they are almost always more readable > > than the equivalent code and more vertically compact as well. I > > wouldn't mind having a dictionary comp > > Do you know that dict() accepts an iterable object producing iterable > objects producing 2 objects each? Yup. (Skip pointed this out too) I wouldn't mind having a special syntax for dictionary comps, but mostly I was just voicing my opinion to the OP that I need such a thing far less often than list comps. -Dave
- Previous message (by thread): A really bad idea.
- Next message (by thread): A really bad idea.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list