diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-01-14 15:45:13 -0800 |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-01-14 15:45:13 -0800 |
commit | f5b62a9b314e71e6bd5014be92ad1d10ff8e0d63 (patch) | |
tree | feb12ee5852eb7674802e9de3c2ef9c32c4f9ee6 /Objects/tupleobject.c | |
parent | d66b5051551b1d5199aaf5d30368d22232f49524 (diff) | |
parent | 63e6c3222f563cfb156de6e92199e9e35ad5d832 (diff) | |
download | cpython-git-f5b62a9b314e71e6bd5014be92ad1d10ff8e0d63.tar.gz |
Consolidate the occurrances of the prime used as the multiplier when hashing.
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 54a580d4a3..d58839e091 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -316,7 +316,7 @@ tuplehash(PyTupleObject *v) register Py_hash_t y; register Py_ssize_t len = Py_SIZE(v); register PyObject **p; - Py_uhash_t mult = 1000003; + Py_uhash_t mult = _PyHASH_MULTIPLIER; x = 0x345678; p = v->ob_item; while (--len >= 0) { |