[Python-checkins] (no subject)

Stéphane Wirtel webhook-mailer at python.org
Thu Sep 19 01:51:27 EDT 2019


To: python-checkins at python.org
Subject: Doc: Clarify dict equality irrespective of ordering. (GH-16266)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
https://github.com/python/cpython/commit/3171d67a6aaf7fe88685b3a80644f0284686=
ef63
commit: 3171d67a6aaf7fe88685b3a80644f0284686ef63
branch: master
author: toonarmycaptain <toonarmycaptain at hotmail.com>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019年09月19日T07:51:23+02:00
summary:
Doc: Clarify dict equality irrespective of ordering. (GH-16266)
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 3895a972a72a..e8b3aba4b909 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -4381,7 +4381,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjo=
erd': 4127}`` or ``{4098:
 False
=20
 Dictionaries compare equal if and only if they have the same ``(key,
- value)`` pairs. Order comparisons ('<', '<=3D', '>=3D', '>') raise
+ value)`` pairs (regardless of ordering). Order comparisons ('<', '<=3D', =
'>=3D', '>') raise
 :exc:`TypeError`.
=20
 Dictionaries preserve insertion order. Note that updating a key does not


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /