mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fix whitespace
This commit is contained in:
parent
d37fb55910
commit
202d1ad3f6
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ def lru_cache(maxsize=100, typed=False):
|
||||||
# simple caching without ordering or size limit
|
# simple caching without ordering or size limit
|
||||||
nonlocal hits, misses
|
nonlocal hits, misses
|
||||||
key = make_key(args, kwds, typed) if kwds or typed else args
|
key = make_key(args, kwds, typed) if kwds or typed else args
|
||||||
result = cache_get(key, root) # root used here as a unique not-found sentinel
|
result = cache_get(key, root) # root used here as a unique not-found sentinel
|
||||||
if result is not root:
|
if result is not root:
|
||||||
hits += 1
|
hits += 1
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue