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

Method _verify_open

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

Source from the content-addressed store, hash-verified

140 sync = _commit
141
142 def _verify_open(self):
143 if self._index is None:
144 raise error('DBM object has already been closed')
145
146 def __getitem__(self, key):
147 if isinstance(key, str):

Callers 4

__getitem__Method · 0.95
__setitem__Method · 0.95
__delitem__Method · 0.95
itemsMethod · 0.95

Calls 1

errorClass · 0.70

Tested by

no test coverage detected