Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ close
Method
close
mypy/metastore.py:272–275 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
270
yield
row[0]
271
272
def
close(self) -> None:
273
for
db in self.dbs:
274
db.close()
275
self.dbs.clear()
276
277
def
__del__(self) -> None:
278
self.close()
Callers
2
__del__
Method · 0.95
read_all
Method · 0.95
Calls
2
close
Method · 0.45
clear
Method · 0.45
Tested by
1
read_all
Method · 0.76