]> granicus.if.org Git - python/commitdiff
Doc: Clarify dict equality irrespective of ordering. (GH-16266)
authortoonarmycaptain <toonarmycaptain@hotmail.com>
Thu, 19 Sep 2019 05:51:24 +0000 (00:51 -0500)
committerStéphane Wirtel <stephane@wirtel.be>
Thu, 19 Sep 2019 05:51:23 +0000 (07:51 +0200)
Doc/library/stdtypes.rst

index 3895a972a72a8a7aeb2824e120f22dec126fa4c4..e8b3aba4b90976697cd510151772153cdd4c21e1 100644 (file)
@@ -4381,7 +4381,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