Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _verify_open
Method
_verify_open
Lib/dbm/dumb.py:140–142 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
138
sync = _commit
139
140
def
_verify_open(self):
141
if
self._index is None:
142
raise
error(
'DBM object has already been closed'
)
143
144
def
__getitem__(self, key):
145
if
isinstance(key, str):
Callers
5
__getitem__
Method · 0.95
__setitem__
Method · 0.95
__delitem__
Method · 0.95
items
Method · 0.95
reorganize
Method · 0.95
Calls
1
error
Class · 0.70
Tested by
no test coverage detected