On Tue, Oct 28, 2014 at 11:16 PM, Zachary Ware <zachary.ware+pyl...@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 -- https://mail.python.org/mailman/listinfo/python-list