Search This Blog

python: call another static method


class AClass(object):
def __init__(self):
pass

@staticmethod
def a():
AClass.b()

@staticmethod
def b():
pass

see also

No comments:

Post a Comment