summaryrefslogtreecommitdiffstats
path: root/Objects/tupleobject.c
diff options
context:
space:
mode:
authorFurkan Onder <furkanonder@protonmail.com>2023-02-19 00:22:02 (GMT)
committerGitHub <noreply@github.com>2023-02-19 00:22:02 (GMT)
commit61f1e67c6fcbf80eb9be2b75f7d62954e28c89e6 (patch)
tree74e32f1ed356fa4cb6cf6013c2cf2aca10046ff3 /Objects/tupleobject.c
parent5170caf3059fdacc92d7370eecb9fe4f0c5a1c76 (diff)
downloadcpython-61f1e67c6fcbf80eb9be2b75f7d62954e28c89e6.zip
cpython-61f1e67c6fcbf80eb9be2b75f7d62954e28c89e6.tar.gz
cpython-61f1e67c6fcbf80eb9be2b75f7d62954e28c89e6.tar.bz2
GH-84783: Make the slice object hashable (GH-101264)
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 e1b9953..7d6d0e1 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -288,7 +288,7 @@ error:
/* Hash for tuples. This is a slightly simplified version of the xxHash
non-cryptographic hash:
- - we do not use any parallellism, there is only 1 accumulator.
+ - we do not use any parallelism, there is only 1 accumulator.
- we drop the final mixing since this is just a permutation of the
output space: it does not help against collisions.
- at the end, we mangle the length with a single constant.