mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724)
This commit is contained in:
parent
9b69a55be3
commit
01713b4342
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user