[issue10868] ABCMeta.register() should work as a decorator
report at bugs.python.org
Sat Feb 26 13:32:16 CET 2011
Daniel Urban <urban.dani+py at gmail.com> added the comment:
> In what use-cases would you want to call MyABC.register() when defining
> a class instead of inheriting from MyABC?
For example if you don't want to inherit a __dict__ for a tree-like data structure (see also issue11333).
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list