diff options
author | toonarmycaptain <toonarmycaptain@hotmail.com> | 2019-09-19 05:51:24 (GMT) |
---|---|---|
committer | Stéphane Wirtel <stephane@wirtel.be> | 2019-09-19 05:51:23 (GMT) |
commit | 3171d67a6aaf7fe88685b3a80644f0284686ef63 (patch) | |
tree | 4f74c948f8a8e08ecb107b5950a91b89f014bd29 | |
parent | 9ab6038fe843e1193d795eb58fd5931b44be5a96 (diff) | |
download | cpython-3171d67a6aaf7fe88685b3a80644f0284686ef63.zip cpython-3171d67a6aaf7fe88685b3a80644f0284686ef63.tar.gz cpython-3171d67a6aaf7fe88685b3a80644f0284686ef63.tar.bz2 |
Doc: Clarify dict equality irrespective of ordering. (GH-16266)
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 3895a97..e8b3aba 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 |