What for -- for? (was A bug?)

Zachary Ware zachary.ware+pylist at gmail.com
Wed Oct 29 05:23:06 CET 2014

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.


More information about the Python-list mailing list