mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fix an ironic typo in a code comment. (gh-109186)
This commit is contained in:
parent
e21c89f984
commit
75cd86599b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue