instancemethod
Michele Simionato
michele.simionato at gmail.com
Fri Jan 26 23:27:29 EST 2007
On Jan 22, 2:58 am, "Gert Cuykens" <gert.cuyk... at gmail.com> wrote:
> http://www.faqts.com/knowledge_base/view.phtml/aid/16824
There is a factual mistake on that reference. The last sentence
> One final note: the single most common use for classmethod is probably
> in overriding __new__(). It is always needed when overriding __new__()
> because __new__() is a classmethod.
is wrong, since __new__ is a staticmethod, NOT a classmethod.
Somebody (possibly me, if I find their emails somewhere) should
probably send a note to the authors
(Michael Chermside, Dennis Peterson, Ian Bicking) asking to fix that.
Michele Simionato
More information about the Python-list
mailing list