[Python-checkins] Fix spelling error in comment (GH-28696) (GH-28699)
rhettinger
webhook-mailer at python.org
Sat Oct 2 15:33:58 EDT 2021
https://github.com/python/cpython/commit/5ba61f488da2e092a81c3d126c5827dad6ab2006
commit: 5ba61f488da2e092a81c3d126c5827dad6ab2006
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2021-10-02T14:33:49-05:00
summary:
Fix spelling error in comment (GH-28696) (GH-28699)
files:
M Objects/setobject.c
diff --git a/Objects/setobject.c b/Objects/setobject.c
index caff85c9e3893..9d4cfd35e328f 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