MCPcopy Create free account
hub / github.com/bterwijn/memory_graph / my_static_method

Method my_static_method

src/different_methods.py:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23 @staticmethod
24 def my_static_method():
25 print("my_static_method called, no 'self' or 'cls'")
26 print(f"{My_Class.count=}") # but still access to class variables
27
28obj1 = My_Class()
29obj2 = My_Class()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected