[issue1109] Warning required when calling register() on an ABCMeta subclass

Christian Heimes report at bugs.python.org
Fri Nov 30 15:33:35 CET 2007


Christian Heimes added the comment:

Fixed in r59233. Please adjust the error message if you don't like it.

TypeError: register() cannot be called on an ABCMeta subclass, use class
Example(metaclass=abc.ABCMeta) instead.

----------
resolution:  -> fixed
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1109>
__________________________________


More information about the Python-bugs-list mailing list