def f(...):
    ...
f = some_decorator(f)
@some_decorator
def f(...):
    ...

Common decorators are classmethod() and staticmethod().