MCPcopy Create free account
hub / github.com/ActiveState/code / __init__

Method __init__

recipes/Python/577898_23_Tree/recipe-577898.py:218–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

216class TTTree(object):
217
218 def __init__(self):
219 self.root = Node()
220 self.lastSearchDepth = 0
221
222 def __iter__(self):
223 stack = [self.root]

Callers

nothing calls this directly

Calls 1

NodeClass · 0.70

Tested by

no test coverage detected