class MyClass(object): @staticmethod def method(self): pass MyClass().method.__