MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / close

Method close

tools/python-3.11.9-amd64/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 3

__exit__Method · 0.95
whichdbFunction · 0.45
_createMethod · 0.45

Calls 1

_commitMethod · 0.95

Tested by

no test coverage detected