[docs] [issue15243] Misleading documentation for __prepare__
Berker Peksag
report at bugs.python.org
Sun Jun 12 05:51:54 EDT 2016
Berker Peksag added the comment:
The documentation should mention that the __prepare__ method must be implemented as a classmethod (see msg164697 for the reference.)
The example at https://docs.python.org/dev/reference/datamodel.html#metaclass-example needs to be linked from the "Preparing the class namespace" section.
----------
nosy: +berker.peksag
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15243>
_______________________________________
More information about the docs
mailing list