[issue17352] Be clear that __prepare__ must be declared as a static method
Nick Coghlan
report at bugs.python.org
Mon Mar 4 16:11:32 CET 2013
New submission from Nick Coghlan:
The docs on __prepare__ don't make it clear that it should be a staticmethod, and the error message if you forget is not obvious at all. (This is particularly so, since the examples in PEP 3115 had it as an ordinary method).
----------
messages: 183463
nosy: ncoghlan
priority: normal
severity: normal
status: open
title: Be clear that __prepare__ must be declared as a static method
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17352>
_______________________________________
More information about the Python-bugs-list
mailing list