summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/collections.py')
-rw-r--r--Lib/collections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index fb6766e..c3c51d1 100644
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -173,7 +173,7 @@ class OrderedDict(dict, MutableMapping):
def __del__(self):
self.clear() # eliminate cyclical references
- def _move_to_end(self, key, PREV=0, NEXT=1):
+ def _renew(self, key, PREV=0, NEXT=1):
'Fast version of self[key]=self.pop(key). Private method for internal use.'
link = self.__map[key]
link_prev = link[PREV]