MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / __delitem__

Method __delitem__

BinarySearchTree.py:123–124  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

121 raise KeyError('Error, key not in tree')
122
123 def __delitem__(self, key):
124 self.delete(key)
125
126 def spliceOut(self):
127 if self.isLeaf():

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.95

Tested by

no test coverage detected