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

Method my_instance_method

src/different_methods.py:13–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 My_Class.count += 1 # also change class variable
12
13 def my_instance_method(self):
14 print("my_instance_method called, access to instance variables via 'self'")
15 self.my_instance_variable.append(My_Class.unique_value)
16 My_Class.unique_value += 1 # also change class variable
17
18 @classmethod
19 def my_class_method(cls):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected