MCPcopy Index your code
hub / github.com/RustPython/RustPython / __len__

Method __len__

Lib/dbm/dumb.py:269–273  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

267 __iter__ = iterkeys
268
269 def __len__(self):
270 try:
271 return len(self._index)
272 except TypeError:
273 raise error('DBM object has already been closed') from None
274
275 def close(self):
276 try:

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
errorClass · 0.70

Tested by

no test coverage detected