Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb74918 commit 57b2959Copy full SHA for 57b2959
1 file changed
Lib/functools.py
@@ -191,11 +191,11 @@ def wrapper(*args, **kwds):
191
key += tuple(map(type, args))
192
if kwds:
193
key += tuple(type(v) for k, v in sorted_items)
194
- PREV, NEXT = 0, 1 # names of link fields
+ PREV = 0 # names of link fields
195
+ NEXT = 1
196
with lock:
197
link = cache_get(key)
198
if link is not None:
- link = cache[key]
199
# record recent use of the key by moving it to the front of the list
200
link_prev, link_next, key, result = link
201
link_prev[NEXT] = link_next
0 commit comments