ptypy.utils.misc.all_subclasses#

ptypy.utils.misc.all_subclasses(cls, names=False)#

Helper function for finding all subclasses of a base class. If names is True, returns the names of the classes rather than their object handles.