[docs] [issue15243] Misleading documentation for __prepare__

Daniel Urban report at bugs.python.org
Thu Jul 5 18:47:07 CEST 2012


Daniel Urban <urban.dani+py at gmail.com> added the comment:

__prepare__ is not implicitly a staticmethod, and it is called exactly as documented (also in types.prepare_class). There is no implicit first argument because the method is called on the (meta)class object.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15243>
_______________________________________


More information about the docs mailing list