[Python-checkins] r84440 - python/branches/py3k/Lib/functools.py
raymond.hettinger
python-checkins at python.org
Thu Sep 2 21:58:35 CEST 2010
Author: raymond.hettinger
Date: Thu Sep 2 21:58:35 2010
New Revision: 84440
Log:
Readability nit.
Modified:
python/branches/py3k/Lib/functools.py
Modified: python/branches/py3k/Lib/functools.py
==============================================================================
--- python/branches/py3k/Lib/functools.py (original)
+++ python/branches/py3k/Lib/functools.py Thu Sep 2 21:58:35 2010
@@ -128,7 +128,8 @@
def decorating_function(user_function, tuple=tuple, sorted=sorted,
len=len, KeyError=KeyError):
cache = OrderedDict() # ordered least recent to most recent
- cache_popitem, cache_renew = cache.popitem, cache._renew
+ cache_popitem = cache.popitem
+ cache_renew = cache._renew
kwd_mark = object() # separate positional and keyword args
lock = Lock()
More information about the Python-checkins
mailing list