MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / __len__

Method __len__

example_code/item_025.py:135–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 yield key
134
135 def __len__(self):
136 return len(self.data)
137
138
139my_dict = SortedDict()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected