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/c-api/object.rst | |
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/c-api/object.rst')
-rw-r--r-- | Doc/c-api/object.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst index 5a25a2b..84c72e7 100644 --- a/Doc/c-api/object.rst +++ b/Doc/c-api/object.rst @@ -281,7 +281,7 @@ Object Protocol .. c:function:: Py_hash_t PyObject_HashNotImplemented(PyObject *o) - Set a :exc:`TypeError` indicating that ``type(o)`` is not hashable and return ``-1``. + Set a :exc:`TypeError` indicating that ``type(o)`` is not :term:`hashable` and return ``-1``. This function receives special treatment when stored in a ``tp_hash`` slot, allowing a type to explicitly indicate to the interpreter that it is not hashable. |