Pages

Tuesday, October 14, 2014

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