Class Methods Vs Any Other Callable
Arnaud Delobelle
arnodel at googlemail.com
Wed May 14 16:44:51 EDT 2008
"bruno.desthuilliers at gmail.com" <bruno.desthuilliers at gmail.com> writes:
> On 14 mai, 19:45, Arnaud Delobelle <arno... at googlemail.com> wrote:
>> __new__ is a static method!
>
> __new__ is a special-cased staticmethod that 1/ must not be declared
> as such and 2/ takes the class object as first args. As far as I'm
> concerned, it's semantically a classmethod.
It's a static method!
--
Arnaud
More information about the Python-list
mailing list