summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-02 19:33:49 (GMT)
committerGitHub <noreply@github.com>2021-10-02 19:33:49 (GMT)
commit5ba61f488da2e092a81c3d126c5827dad6ab2006 (patch)
treea8c7e54274e5eba548f2d283725a8ab64f137e39
parent72089f33c0aed391f047b1cbaf19d8da1e51c167 (diff)
downloadcpython-5ba61f488da2e092a81c3d126c5827dad6ab2006.zip
cpython-5ba61f488da2e092a81c3d126c5827dad6ab2006.tar.gz
cpython-5ba61f488da2e092a81c3d126c5827dad6ab2006.tar.bz2
Fix spelling error in comment (GH-28696) (GH-28699)
-rw-r--r--Objects/setobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index caff85c..9d4cfd3 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -16,7 +16,7 @@
reduces the cost of hash collisions because consecutive memory accesses
tend to be much cheaper than scattered probes. After LINEAR_PROBES steps,
we then use more of the upper bits from the hash value and apply a simple
- linear congruential random number genearator. This helps break-up long
+ linear congruential random number generator. This helps break-up long
chains of collisions.
All arithmetic on hash should ignore overflow.