diff options
Diffstat (limited to 'dns/resolver.py')
| -rw-r--r-- | dns/resolver.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dns/resolver.py b/dns/resolver.py index 4d2b72b..ec16376 100644 --- a/dns/resolver.py +++ b/dns/resolver.py @@ -283,7 +283,7 @@ class Answer: del self.rrset[i] -class CacheStats: +class CacheStatistics: """Cache Statistics """ @@ -296,13 +296,13 @@ class CacheStats: self.misses = 0 def clone(self): - return CacheStats(self.hits, self.misses) + return CacheStatistics(self.hits, self.misses) class CacheBase: def __init__(self): self.lock = _threading.Lock() - self.statistics = CacheStats() + self.statistics = CacheStatistics() def reset_statistics(self): """Reset all statistics to zero.""" |
