Home | History | Annotate | Download | only in bintrees

Lines Matching refs:succ

96         succ = None
101 if (succ is None) or less_than(node.key, succ.key):
102 succ = node
115 if succ is None:
116 succ = node
117 elif less_than(node.key, succ.key):
118 succ = node
119 elif succ is None: # given key is biggest in tree
121 return (succ.key, succ.value)
206 succ = None
213 if (succ is None) or (node.key < succ.key):
214 succ = node
217 if succ:
218 return succ.key, succ.value