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

Method __init__

example_code/item_050.py:170–172  ·  view source on GitHub ↗
(self, left, right)

Source from the content-addressed store, hash-verified

168print("Example 9")
169class Add:
170 def __init__(self, left, right):
171 self.left = left
172 self.right = right
173
174@my_evaluate.register(Add)
175def _(node):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected