From: Luciano Ramalho Date: Wed, 19 Nov 2025 18:22:27 +0000 (-0300) Subject: gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724) X-Git-Tag: v3.15.0a3~350 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01713b434233247bc54b04512ba5bc15ab364768;p=thirdparty%2FPython%2Fcpython.git gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724) --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 9a8108d882e0..4e0db485e068 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)