Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_049.py:105–106 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
103
print(
"Example 7"
)
104
class
IntegerNode(Node):
105
def
__init__(self, value):
106
self.value = value
107
108
def
evaluate(self):
109
return
self.value
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected