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

Method __nextSucc

recipes/Python/577898_23_Tree/recipe-577898.py:244–248  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

242 return ''.join(out)
243
244 def __nextSucc(self, node):
245 self.lastSearchDepth += 1
246 if not node.isLeafNode():
247 return self.__nextSucc(node.links[0])
248 return node
249
250 def __find(self, curNode, a):
251 if curNode is not None:

Callers 1

findInorderSuccMethod · 0.95

Calls 1

isLeafNodeMethod · 0.80

Tested by

no test coverage detected