[lang-ref] ( static_method ) ( python )

def test_static_method():
    # @staticmethod
    class Class01:
        @staticmethod
        def method01():
            return 1

    # use static method when you don't need to self/cls.
    # ex: utility method

    r = Class01.method01()

    assert r == 1