MCPcopy Index your code
hub / github.com/python/cpython / __len__

Method __len__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

errorClass · 0.70

Tested by

no test coverage detected