[3.12] Fix an ironic typo in a code comment. (gh-109186) (#109188)

Fix an ironic typo in a code comment. (gh-109186)
(cherry picked from commit 75cd86599b)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-09-12 07:00:13 -07:00 committed by GitHub
parent acde502e8a
commit 888bcf49c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -827,7 +827,7 @@ class Random(_random.Random):
return k
# Acceptance-rejection test.
# Note, the original paper errorneously omits the call to log(v)
# Note, the original paper erroneously omits the call to log(v)
# when comparing to the log of the rescaled binomial distribution.
if not setup_complete:
alpha = (2.83 + 5.1 / b) * spq