summaryrefslogtreecommitdiff
path: root/Objects/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 9060c827d5..441068d1e3 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -761,7 +761,7 @@ _Py_HashBytes(unsigned char *p, Py_ssize_t len)
x = (Py_uhash_t) *p << 7;
for (i = 0; i < len; i++)
- x = (1000003U * x) ^ (Py_uhash_t) *p++;
+ x = (_PyHASH_MULTIPLIER * x) ^ (Py_uhash_t) *p++;
x ^= (Py_uhash_t) len;
if (x == -1)
x = -2;