]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix documentation of hash in PyHash_FuncDef (#137595)
authorda-woods <dw-git@d-woods.co.uk>
Mon, 11 Aug 2025 11:18:37 +0000 (12:18 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Aug 2025 11:18:37 +0000 (13:18 +0200)
Because of a small typo, it wasn't showing up in the generated docs.

Doc/c-api/hash.rst

index 00f8cb887dc7ebfb0634b32efac02098355bcf5c..b5fe93573a14562439a7aa5228c4cc875e8bb67b 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.