MCPcopy 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

70print("Example 3")
71class BinaryNode:
72 def __init__(self, value, left=None, right=None):
73 self.value = value
74 self.left = left
75 self.right = right
76
77
78print("Example 4")

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected