MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / add

Method add

example_code/item_124.py:67–68  ·  view source on GitHub ↗
(self, offset)

Source from the content-addressed store, hash-verified

65 self.value = 0
66
67 def add(self, offset):
68 value += offset
69
70 def get(self) -> int:
71 self.value

Callers 1

item_124.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected