MCPcopy Create free account
hub / github.com/rthalley/dnspython / __init__

Method __init__

dns/resolver.py:392–394  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

390
391class CacheBase:
392 def __init__(self) -> None:
393 self.lock = threading.Lock()
394 self.statistics = CacheStatistics()
395
396 def reset_statistics(self) -> None:
397 """Reset all statistics to zero."""

Callers

nothing calls this directly

Calls 1

CacheStatisticsClass · 0.85

Tested by

no test coverage detected