Skip to content

Commit 8bb026f

Browse files
OTheDevmiss-islington
authored andcommitted
Remove duplicate content in Mapping types - dict documentation (GH-141036)
(cherry picked from commit a15bd21) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
1 parent e0a7782 commit 8bb026f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Doc/library/stdtypes.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5076,9 +5076,6 @@ can be used interchangeably to index the same dictionary entry.
50765076
being added is already present, the value from the keyword argument
50775077
replaces the value from the positional argument.
50785078

5079-
Providing keyword arguments as in the first example only works for keys that
5080-
are valid Python identifiers. Otherwise, any valid keys can be used.
5081-
50825079
Dictionaries compare equal if and only if they have the same ``(key,
50835080
value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', '>') raise
50845081
:exc:`TypeError`. To illustrate dictionary creation and equality,

0 commit comments

Comments
 (0)