[3.14] Remove duplicate content in Mapping types - dict documentation (GH-141036) (#142808)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-12-16 12:51:36 +01:00 committed by GitHub
parent fdc79776eb
commit 8916a8bf17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5076,9 +5076,6 @@ can be used interchangeably to index the same dictionary entry.
being added is already present, the value from the keyword argument
replaces the value from the positional argument.
Providing keyword arguments as in the first example only works for keys that
are valid Python identifiers. Otherwise, any valid keys can be used.
Dictionaries compare equal if and only if they have the same ``(key,
value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', '>') raise
:exc:`TypeError`. To illustrate dictionary creation and equality,