Message164696
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. |
|
Date |
User |
Action |
Args |
2012-07-05 19:59:06 | William.Schwartz | set | recipients:
+ William.Schwartz, ncoghlan, eric.araujo, daniel.urban, docs@python |
2012-07-05 19:59:06 | William.Schwartz | set | messageid: <1341518346.88.0.75057421281.issue15243@psf.upfronthosting.co.za> |
2012-07-05 19:59:06 | William.Schwartz | link | issue15243 messages |
2012-07-05 19:59:06 | William.Schwartz | create | |
|