summaryrefslogtreecommitdiffstats
path: root/Objects
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 /Objects
parent87939bd5790accea77c5a81093f16f28d3f0b429 (diff)
downloadcpython-f6da790122fdae1a28f444edfbb55202d6829cd1.zip
cpython-f6da790122fdae1a28f444edfbb55202d6829cd1.tar.gz
cpython-f6da790122fdae1a28f444edfbb55202d6829cd1.tar.bz2
gh-111389: Add PyHASH_MULTIPLIER constant (#119214)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/codeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index 3d804f7..1c6b556 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -2020,7 +2020,7 @@ code_hash(PyCodeObject *co)
Py_uhash_t uhash = 20221211;
#define SCRAMBLE_IN(H) do { \
uhash ^= (Py_uhash_t)(H); \
- uhash *= _PyHASH_MULTIPLIER; \
+ uhash *= PyHASH_MULTIPLIER; \
} while (0)
#define SCRAMBLE_IN_HASH(EXPR) do { \
Py_hash_t h = PyObject_Hash(EXPR); \