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

This commit is contained in:
Luciano Ramalho 2025-11-19 15:22:27 -03:00 committed by GitHub
parent 9b69a55be3
commit 01713b4342
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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)