]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Clarify dict equality irrespective of ordering. (GH-16266)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Sep 2019 05:57:32 +0000 (22:57 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2019 05:57:32 +0000 (22:57 -0700)
(cherry picked from commit 3171d67a6aaf7fe88685b3a80644f0284686ef63)

Co-authored-by: toonarmycaptain <toonarmycaptain@hotmail.com>
Doc/library/stdtypes.rst

index 7a8faba00fd98a2f1bf73b83f12300a8cbd0172c..57b72c5b65620f9576a32de14109597928acad95 100644 (file)
@@ -4280,7 +4280,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
          False
 
    Dictionaries compare equal if and only if they have the same ``(key,
-   value)`` pairs. Order comparisons ('<', '<=', '>=', '>') raise
+   value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', '>') raise
    :exc:`TypeError`.
 
    Dictionaries preserve insertion order.  Note that updating a key does not