summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-05-21 17:51:51 (GMT)
committerGitHub <noreply@github.com>2024-05-21 17:51:51 (GMT)
commitf6da790122fdae1a28f444edfbb55202d6829cd1 (patch)
tree68d3e65a10037dfc6421b70a2f24bbc06d68f285 /Doc/c-api
parent87939bd5790accea77c5a81093f16f28d3f0b429 (diff)
downloadcpython-f6da790122fdae1a28f444edfbb55202d6829cd1.zip
cpython-f6da790122fdae1a28f444edfbb55202d6829cd1.tar.gz
cpython-f6da790122fdae1a28f444edfbb55202d6829cd1.tar.bz2
gh-111389: Add PyHASH_MULTIPLIER constant (#119214)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/hash.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/c-api/hash.rst b/Doc/c-api/hash.rst
index ddf0b3e..7345a04 100644
--- a/Doc/c-api/hash.rst
+++ b/Doc/c-api/hash.rst
@@ -29,6 +29,12 @@ See also the :c:member:`PyTypeObject.tp_hash` member and :ref:`numeric-hash`.
.. versionadded:: 3.13
+.. c:macro:: PyHASH_MULTIPLIER
+
+ Prime multiplier used in string and various other hashes.
+
+ .. versionadded:: 3.13
+
.. c:macro:: PyHASH_INF
The hash value returned for a positive infinity.