What for -- for? (was A bug?)
Zachary Ware
zachary.ware+pylist at gmail.com
Wed Oct 29 00:23:06 EDT 2014
More information about the Python-list mailing list
Wed Oct 29 00:23:06 EDT 2014
- Previous message (by thread): What for -- for? (was A bug?)
- Next message (by thread): What for -- for? (was A bug?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 28, 2014 at 11:16 PM, Zachary Ware <zachary.ware+pylist at gmail.com> wrote: > def get_abc_map(cls): > return {n: issubclass(cls, getattr(abc, n)) for n in dir(abc) if > n[0].isupper()} Of course, Gmail decided to wrap my long line for me. In case it's not obvious, that should be a single line. -- Zach
- Previous message (by thread): What for -- for? (was A bug?)
- Next message (by thread): What for -- for? (was A bug?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list