summaryrefslogtreecommitdiff
path: root/Objects/tupleobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r--Objects/tupleobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index fe3da5576f..fd53c300cb 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -233,7 +233,7 @@ tuplehash(v)
y = hashobject(*p++);
if (y == -1)
return -1;
- x = (x + x + x) ^ y;
+ x = (1000003*x) ^ y;
}
x ^= v->ob_size;
if (x == -1)