]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix documentation of hash in PyHash_FuncDef (GH-137595) (#137643)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Aug 2025 11:25:13 +0000 (13:25 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Aug 2025 11:25:13 +0000 (11:25 +0000)
Fix documentation of hash in PyHash_FuncDef (GH-137595)

Because of a small typo, it wasn't showing up in the generated docs.
(cherry picked from commit 70218b40082396d68c277667fc9bb7f87d095e3c)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
Doc/c-api/hash.rst

index 7345a048a4128b9e0c7dec8148818073f9b2a682..314abdb1be05cd138e14b1b7b7273612b380bb2a 100644 (file)
@@ -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.