From 11629e0a8cf2632254ba00753bfb8e8ba3f0024e Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 16 Dec 2025 12:52:07 +0100 Subject: [PATCH] [3.13] Remove duplicate content in `Mapping types - dict` documentation (GH-141036) (#142809) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com> --- Doc/library/stdtypes.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 734405af55fd..f07930b628a0 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4854,9 +4854,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, -- 2.47.3