]> granicus.if.org Git - python/commitdiff
Typo.
authorRaymond Hettinger <python@rcn.com>
Wed, 8 Apr 2009 01:16:27 +0000 (01:16 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 8 Apr 2009 01:16:27 +0000 (01:16 +0000)
Lib/collections.py

index 69a4b019cdee9d86ceb42eff736e30b3939b9a0b..3c1b78a3668a6c329ec1fe2b23212d9c200d5ed1 100644 (file)
@@ -89,7 +89,7 @@ class OrderedDict(dict, MutableMapping):
             curr = curr.next
 
     def __reversed__(self):
-        'od.__iter__() <==> reversed(od)'
+        'od.__reversed__() <==> reversed(od)'
         # Traverse the linked list in reverse order.
         root = self.__root
         curr = root.prev