Fix an ironic typo in a code comment. (gh-109186)

This commit is contained in:
Raymond Hettinger 2023-09-09 10:21:42 -05:00 committed by GitHub
parent e21c89f984
commit 75cd86599b
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