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

Class IntegerNode

example_code/item_049.py:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103print("Example 7")
104class IntegerNode(Node):
105 def __init__(self, value):
106 self.value = value
107
108 def evaluate(self):
109 return self.value
110
111
112print("Example 8")

Callers 1

item_049.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected