MCPcopy Index your code
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / __getitem__

Method __getitem__

AVL.py:165–166  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

163 return self._get(key, currentNode.rightChild)
164
165 def __getitem__(self, key):
166 return self.get(key)
167
168 def __contains__(self, key):
169 if self._get(key, self.root):

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected