diff options
author | Victor Stinner <vstinner@python.org> | 2024-05-21 17:51:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 17:51:51 (GMT) |
commit | f6da790122fdae1a28f444edfbb55202d6829cd1 (patch) | |
tree | 68d3e65a10037dfc6421b70a2f24bbc06d68f285 /Doc/c-api | |
parent | 87939bd5790accea77c5a81093f16f28d3f0b429 (diff) | |
download | cpython-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.rst | 6 |
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. |