Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_057.py:72–75 ·
view source on GitHub ↗
(self, value, left=None, right=None)
Source
from the content-addressed store, hash-verified
70
print(
"Example 3"
)
71
class
BinaryNode:
72
def
__init__(self, value, left=None, right=None):
73
self.value = value
74
self.left = left
75
self.right = right
76
77
78
print(
"Example 4"
)
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected