https://github.com/python/cpython/commit/01713b434233247bc54b04512ba5bc15ab364768
commit: 01713b434233247bc54b04512ba5bc15ab364768
branch: main
author: Luciano Ramalho <[email protected]>
committer: rhettinger <[email protected]>
date: 2025-11-19T12:22:27-06:00
summary:

gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724)

files:
M Doc/library/collections.rst

diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 9a8108d882e02f..4e0db485e068a8 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -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)

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to