Return a class method for function.
classmethod(function)
class C: @classmethod def f(cls, arg1, arg2, ...): ...