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

Method __init__

example_code/item_009.py:226–229  ·  view source on GitHub ↗
(self, value, left=None, right=None)

Source from the content-addressed store, hash-verified

224print("Example 15")
225class Node:
226 def __init__(self, value, left=None, right=None):
227 self.value = value
228 self.left = left
229 self.right = right
230
231
232print("Example 16")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected