MCPcopy 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
touchMethod · 0.45
mainFunction · 0.45
whichdbFunction · 0.45
_createMethod · 0.45
get_pagerFunction · 0.45
mainFunction · 0.45
_tempfileFunction · 0.45

Calls 1

_commitMethod · 0.95

Tested by

no test coverage detected