[Python-ideas] Automatically turning __prepare__ into a classmethod.

Antony Lee antony.lee at berkeley.edu
Mon Dec 9 08:11:08 CET 2013


Just a small idea...
__new__ is automagically turned into a staticmethod, because other
interpretations don't make sense.  Likewise, perhaps __prepare__ could be
automagically turned into a classmethod?
Antony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131208/08ebe525/attachment-0001.html>


More information about the Python-ideas mailing list