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

Method close

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

Source from the content-addressed store, hash-verified

271 raise error('DBM object has already been closed') from None
272
273 def close(self):
274 try:
275 self._commit()
276 finally:
277 self._index = self._datfile = self._dirfile = self._bakfile = None
278
279 __del__ = close
280

Callers 11

__exit__Method · 0.95
touchMethod · 0.45
mainFunction · 0.45
_wait_for_ready_signalFunction · 0.45
__exit__Method · 0.45
__exit__Method · 0.45
cleanup_cursesMethod · 0.45
whichdbFunction · 0.45
_createMethod · 0.45
get_pagerFunction · 0.45
mainFunction · 0.45

Calls 1

_commitMethod · 0.95

Tested by

no test coverage detected