summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/tupleobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index fe3da55..fd53c30 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)