summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2021-10-02 18:52:05 (GMT)
committerGitHub <noreply@github.com>2021-10-02 18:52:05 (GMT)
commitdc878240dcbb47e660f5ad094deba5381872f2c9 (patch)
treeff51b65dcbc775230dd311ee32d2f7b2efdd1d40
parentdb91b058d5d4fbff4185982095d90fe6a2741aed (diff)
downloadcpython-dc878240dcbb47e660f5ad094deba5381872f2c9.zip
cpython-dc878240dcbb47e660f5ad094deba5381872f2c9.tar.gz
cpython-dc878240dcbb47e660f5ad094deba5381872f2c9.tar.bz2
Fix spelling error in comment (GH-28696)
-rw-r--r--Objects/setobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index a3cdd33..f71417d 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.