summaryrefslogtreecommitdiff
path: root/Doc/c-api/object.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-14 02:47:49 -0800
committerGitHub <noreply@github.com>2023-02-14 02:47:49 -0800
commitbc3718eb4b6defcdffb23b0c6f5879c5e721609a (patch)
treebb2ed8e9bac7da477e790882a0abbd9432f13157 /Doc/c-api/object.rst
parent59852bbcc38ed4b5d6da7208e0e6b96456028523 (diff)
downloadcpython-git-bc3718eb4b6defcdffb23b0c6f5879c5e721609a.tar.gz
GH-101898: Fix missing term references for hashable definition (GH-101899)
Fix missing term references for hashable definition (cherry picked from commit 3690688149dca11589af59b7704541336613199a) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Diffstat (limited to 'Doc/c-api/object.rst')
-rw-r--r--Doc/c-api/object.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst
index eef42ca132..feadf50320 100644
--- a/Doc/c-api/object.rst
+++ b/Doc/c-api/object.rst
@@ -263,7 +263,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.