MCPcopy Index your code
hub / github.com/RustPython/RustPython / clear_cache

Method clear_cache

Lib/urllib/request.py:1615–1619  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1613 self.soonest = min(list(self.timeout.values()))
1614
1615 def clear_cache(self):
1616 for conn in self.cache.values():
1617 conn.close()
1618 self.cache.clear()
1619 self.timeout.clear()
1620
1621class DataHandler(BaseHandler):
1622 def data_open(self, req):

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.45
closeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected