class test:
@staticmethod
def somefunc():
pass
a = test.somefunc
if I print a, it gives
<function __main__.somefunc>
where I can not tell which class it belongs to?
class test:
@staticmethod
def somefunc():
pass
a = test.somefunc
if I print a, it gives
<function __main__.somefunc>
where I can not tell which class it belongs to?