]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Remove duplicate content in `Mapping types - dict` documentation (GH-141036...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Dec 2025 11:51:36 +0000 (12:51 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Dec 2025 11:51:36 +0000 (11:51 +0000)
Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
Doc/library/stdtypes.rst

index 896b020bfa22fdf033c5098016eb5d198b015d02..c71de748e453f64a96736c81715402c28b755101 100644 (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,