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.
LastUpdatedOrderedDict
1 parent 45b2f88 commit 1a10a6bCopy full SHA for 1a10a6b
1 file changed
Doc/library/collections.rst
@@ -1141,7 +1141,7 @@ original insertion position is changed and moved to the end::
1141
1142
def __setitem__(self, key, value):
1143
super().__setitem__(key, value)
1144
- super().move_to_end(key)
+ self.move_to_end(key)
1145
1146
An :class:`OrderedDict` would also be useful for implementing
1147
variants of :func:`functools.lru_cache`::
0 commit comments