]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724)
authorLuciano Ramalho <luciano@ramalho.org>
Wed, 19 Nov 2025 18:22:27 +0000 (15:22 -0300)
committerGitHub <noreply@github.com>
Wed, 19 Nov 2025 18:22:27 +0000 (12:22 -0600)
Doc/library/collections.rst

index 9a8108d882e02ffcab6b5b6ffd3c1ffe08c4770e..4e0db485e068a8d5e902dfab7812634aed2dbdb9 100644 (file)
@@ -1209,7 +1209,7 @@ If a new entry overwrites an existing entry, the
 original insertion position is changed and moved to the end::
 
     class LastUpdatedOrderedDict(OrderedDict):
-        'Store items in the order the keys were last added'
+        'Store items in the order that the keys were last updated.'
 
         def __setitem__(self, key, value):
             super().__setitem__(key, value)