Python 在类的静态函数中调用另一个静态函数 Posted on 2020-03-04 Edited on 2020-04-26 Views: Word count in article: 60 Reading time ≈ 1 mins. 有两种常见解决办法: 调用目标函数的__func__()方法。 使用CLASS_NAME.target_func()方法。这种方法更加干净、Pythonic。 1234567891011class Klass(object): @staticmethod # use as decorator def stat_func(): return 42 _ANS = stat_func.__func__() # call the staticmethod def method(self): ret = Klass.stat_func() return ret