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

Method __init__

recipes/Python/577898_23_Tree/recipe-577898.py:57–61  ·  view source on GitHub ↗
(self, v = None, parent = None)

Source from the content-addressed store, hash-verified

55class Node(object):
56
57 def __init__(self, v = None, parent = None):
58 self.values, self.valcnt = None, 0
59 self.links, self.refcnt = None, 0
60 self.parent = parent
61 self.insertValue(v)
62
63 def __str__(self):
64 out = []

Callers

nothing calls this directly

Calls 1

insertValueMethod · 0.95

Tested by

no test coverage detected