[Python-Dev] type.subclasses() doesn't work (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Wed Oct 9 12:20:18 CEST 2013


Hello,

Just noticed the following quirk:

type.subclasses() Traceback (most recent call last): File "", line 1, in TypeError: descriptor 'subclasses' of 'type' object needs an argument

Yet it would be nice to know about the subclasses of type.

Regards

Antoine.



More information about the Python-Dev mailing list