summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index e97ce1f..59fc123 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -11210,7 +11210,7 @@ unicode_hash(PyObject *self)
#define HASH(P) \
x = (Py_uhash_t)*P << 7; \
while (--len >= 0) \
- x = (1000003*x) ^ (Py_uhash_t)*P++;
+ x = (_PyHASH_MULTIPLIER*x) ^ (Py_uhash_t)*P++;
switch (PyUnicode_KIND(self)) {
case PyUnicode_1BYTE_KIND: {