https://github.com/python/cpython/commit/70218b40082396d68c277667fc9bb7f87d095e3c
commit: 70218b40082396d68c277667fc9bb7f87d095e3c
branch: main
author: da-woods <dw-...@d-woods.co.uk>
committer: vstinner <vstin...@python.org>
date: 2025-08-11T13:18:37+02:00
summary:

Fix documentation of hash in PyHash_FuncDef (#137595)

Because of a small typo, it wasn't showing up in the generated docs.

files:
M Doc/c-api/hash.rst

diff --git a/Doc/c-api/hash.rst b/Doc/c-api/hash.rst
index 00f8cb887dc7eb..b5fe93573a1456 100644
--- a/Doc/c-api/hash.rst
+++ b/Doc/c-api/hash.rst
@@ -51,7 +51,7 @@ See also the :c:member:`PyTypeObject.tp_hash` member and 
:ref:`numeric-hash`.
 
    Hash function definition used by :c:func:`PyHash_GetFuncDef`.
 
-   .. c::member:: Py_hash_t (*const hash)(const void *, Py_ssize_t)
+   .. c:member:: Py_hash_t (*const hash)(const void *, Py_ssize_t)
 
       Hash function.
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to