]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove duplicate content in `Mapping types - dict` documentation (#141036)
authorOwain Davies <116417456+OTheDev@users.noreply.github.com>
Tue, 16 Dec 2025 11:46:13 +0000 (11:46 +0000)
committerGitHub <noreply@github.com>
Tue, 16 Dec 2025 11:46:13 +0000 (13:46 +0200)
Doc/library/stdtypes.rst

index 5a2021e31ee4e3460928b1d983744472ff17fcaa..327a7037aee0d4a543db23761988412cbcec77b4 100644 (file)
@@ -5100,9 +5100,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,