def func(self, x):
    pass


class MyClass:
    def method(self, x):
        def helper(self, x):
            pass

    @classmethod
    def class_method(self, x):
        pass

    @staticmethod
    def static_method(self, x):
        pass