I have a class
class Test(object):
@staticmethod
def f(str):
print(str)
a = f('aaa')
How to do it properly? I have 'staticmethod' object is not callable
error. classmethod attribute gets error too. Please don't advise to call outside from class, I want it to be implemented in this way.