[Python-checkins] Fix spelling error in comment (GH-28696)

rhettinger webhook-mailer at python.org
Sat Oct 2 14:52:12 EDT 2021


https://github.com/python/cpython/commit/dc878240dcbb47e660f5ad094deba5381872f2c9
commit: dc878240dcbb47e660f5ad094deba5381872f2c9
branch: main
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2021-10-02T13:52:05-05:00
summary:

Fix spelling error in comment (GH-28696)

files:
M Objects/setobject.c

diff --git a/Objects/setobject.c b/Objects/setobject.c
index a3cdd33664d08..f71417d9f6ded 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.



More information about the Python-checkins mailing list