Commit 524359f9 authored by Raymond Hettinger's avatar Raymond Hettinger

Add comment.

parent ef4a03ff
...@@ -141,7 +141,7 @@ def lru_cache(maxsize=100): ...@@ -141,7 +141,7 @@ def lru_cache(maxsize=100):
hits = misses = 0 hits = misses = 0
kwd_mark = object() # separates positional and keyword args kwd_mark = object() # separates positional and keyword args
lock = Lock() lock = Lock() # needed because ordereddicts aren't threadsafe
if maxsize is None: if maxsize is None:
cache = dict() # simple cache without ordering or size limit cache = dict() # simple cache without ordering or size limit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment