[docs] [issue15243] Misleading documentation for __prepare__
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>
More information about the docs