class Yoba:
@staticmethod
def foo(f):
print("foo")
def wrapper(*args, **kwargs):
print("wrapper")
f(*args, **kwargs)
return wrapper
@Yoba.foo
def bar(self):
Yoba.foo()
print(Yoba().foo == Yoba.foo)
Yoba().bar()
Y2xhc3MgWW9iYToKCUBzdGF0aWNtZXRob2QKCWRlZiBmb28oZik6CgkJcHJpbnQoImZvbyIpCgkJZGVmIHdyYXBwZXIoKmFyZ3MsICoqa3dhcmdzKToKCQkJcHJpbnQoIndyYXBwZXIiKQoJCQlmKCphcmdzLCAqKmt3YXJncykKCQlyZXR1cm4gd3JhcHBlcgoJCQoJQFlvYmEuZm9vCglkZWYgYmFyKHNlbGYpOgoJCVlvYmEuZm9vKCkKCnByaW50KFlvYmEoKS5mb28gPT0gWW9iYS5mb28pCllvYmEoKS5iYXIoKQ==