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

Method __len__

BinarySearchTree.py:52–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 return self.size
51
52 def __len__(self):
53 return self.size
54
55 def __iter__(self):
56 return self.root.__iter__()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected