static and class methods in python