, Pilgrim : - , . wikipedia , " - , ( ) ( ).". Python staticmethod classmethod , ; , a def . :.
>>> class X(object):
... def noclass(self): print self
... @classmethod
... def withclass(cls): print cls
...
>>> x = X()
>>> x.noclass()
<__main__.X object at 0x698d0>
>>> x.withclass()
<class '__main__.X'>
>>>
, noclass , withclass .
, self : cls, . , - , , , number_of_cats, ! -)