Transform a method into a static method.
@staticmethod
class C: @staticmethod def f(arg1, arg2, argN): ...
def regular_function(): ... class C: method = staticmethod(regular_function)