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 William.Schwartz
Recipients William.Schwartz, daniel.urban, docs@python, eric.araujo, ncoghlan
Date 2012-07-05.19:59:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341518346.88.0.75057421281.issue15243@psf.upfronthosting.co.za>
In-reply-to
Content
Daniel, Good point. However it would still be useful for documentation to point out that __prepare__ can be passed the metaclass as the implicit first argument by being decorated by classmethod.

I'll post a small patch when I get a chance to add a sentence saying as much in the documentation and reorganize the test cases in Lib/test/test_metaclass.py to make it part of the narrative of the doctests.
History
Date User Action Args
2012-07-05 19:59:06William.Schwartzsetrecipients: + William.Schwartz, ncoghlan, eric.araujo, daniel.urban, docs@python
2012-07-05 19:59:06William.Schwartzsetmessageid: <1341518346.88.0.75057421281.issue15243@psf.upfronthosting.co.za>
2012-07-05 19:59:06William.Schwartzlinkissue15243 messages
2012-07-05 19:59:06William.Schwartzcreate