[Python-checkins] cpython: Root variable is not changed.

raymond.hettinger python-checkins at python.org
Sat Mar 17 01:08:42 CET 2012


http://hg.python.org/cpython/rev/c28a2ef28ba7
changeset: 75760:c28a2ef28ba7
user: Raymond Hettinger <python at rcn.com>
date: Fri Mar 16 17:08:37 2012 -0700
summary:
 Root variable is not changed.
files:
 Lib/functools.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/functools.py b/Lib/functools.py
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -223,7 +223,7 @@
 
 def cache_clear():
 """Clear the cache and cache statistics"""
- nonlocal hits, misses, root
+ nonlocal hits, misses
 with lock:
 cache.clear()
 root[:] = [root, root, None, None]
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /