This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients JelleZijlstra, William.Schwartz, berker.peksag, daniel.urban, docs@python, eric.araujo, ncoghlan
Date 2016-06-12.09:51:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465725114.83.0.0178399080532.issue15243@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-06-12 09:51:54berker.peksagsetrecipients: + berker.peksag, ncoghlan, eric.araujo, daniel.urban, docs@python, William.Schwartz, JelleZijlstra
2016-06-12 09:51:54berker.peksagsetmessageid: <1465725114.83.0.0178399080532.issue15243@psf.upfronthosting.co.za>
2016-06-12 09:51:54berker.peksaglinkissue15243 messages
2016-06-12 09:51:54berker.peksagcreate