My Tech Notes
Showing posts with label
static method
.
Show all posts
Showing posts with label
static method
.
Show all posts
python: call another static method
›
class AClass(object): def __init__(self): pass @staticmethod def a(): AClass.b() @staticmethod def b(): ...
Python: class method vs static method
›
class A: def object_m(self,x): print "executing object_m(%s,%s)"%(self,x) @classmethod def class_m(cls,x): ...
›
Home
View web version