diff options
author | Furkan Onder <furkanonder@protonmail.com> | 2023-02-14 10:20:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 10:20:11 (GMT) |
commit | 3690688149dca11589af59b7704541336613199a (patch) | |
tree | 3a775ed8bb3981936540b8fb352a5f6c120a0375 /Doc/reference | |
parent | e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255 (diff) | |
download | cpython-3690688149dca11589af59b7704541336613199a.zip cpython-3690688149dca11589af59b7704541336613199a.tar.gz cpython-3690688149dca11589af59b7704541336613199a.tar.bz2 |
GH-101898: Fix missing term references for hashable definition (#101899)
Fix missing term references for hashable definition
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 1d2ddf3..e4e471e 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1525,7 +1525,7 @@ Basic customization :meth:`__hash__`, its instances will not be usable as items in hashable collections. If a class defines mutable objects and implements an :meth:`__eq__` method, it should not implement :meth:`__hash__`, since the - implementation of hashable collections requires that a key's hash value is + implementation of :term:`hashable` collections requires that a key's hash value is immutable (if the object's hash value changes, it will be in the wrong hash bucket). |