Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ close
Method
close
Lib/dbm/dumb.py:275–279 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
273
raise
error(
'DBM object has already been closed'
)
from
None
274
275
def
close(self):
276
try
:
277
self._commit()
278
finally:
279
self._index = self._datfile = self._dirfile = self._bakfile = None
280
281
__del__ = close
282
Callers
8
__exit__
Method · 0.95
touch
Method · 0.45
main
Function · 0.45
whichdb
Function · 0.45
_create
Method · 0.45
get_pager
Function · 0.45
main
Function · 0.45
_tempfile
Function · 0.45
Calls
1
_commit
Method · 0.95
Tested by
no test coverage detected