mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 16:14:45 +00:00
Add documentation.
This commit is contained in:
parent
99bf8aa940
commit
02a09dbb28
1 changed files with 1 additions and 0 deletions
1
linkcheck/cache/addrinfo.py
vendored
1
linkcheck/cache/addrinfo.py
vendored
|
|
@ -29,6 +29,7 @@ _lock = get_lock("addrinfo")
|
|||
class AddrInfo(object):
|
||||
|
||||
def __init__(self):
|
||||
"""Initialize address info cache and cache statistics."""
|
||||
self.addrinfos = LFUCache(size=100)
|
||||
self.misses = self.hits = 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue