static methods in the old daysa static method used to be created by supplying function object to staticmethod(as its argument for exampleto make method called foo(staticwe' do the following def foo()print(''foo called''foo staticmethodfoo the function object returned by staticmethod(is static in the above examplewhen foo is subsequently called directly on the class using the function call operator '()'it is the callable object bound to foo in the last statement above that gets executed the modern approach to achieving the same effect is through the use of the staticmethod decoratoras in @staticmethod def foo()print ''foo called'purdue university