diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2023-09-09 15:21:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 15:21:42 (GMT) |
commit | 75cd86599bad05cb372aed9fccc3ff884cd38b70 (patch) | |
tree | 6a641c1ce916f69e6fc1096f8c86ffc032a54963 /Lib/random.py | |
parent | e21c89f9841488a1d4ca1024dc97c1aba44e0c87 (diff) | |
download | cpython-75cd86599bad05cb372aed9fccc3ff884cd38b70.zip cpython-75cd86599bad05cb372aed9fccc3ff884cd38b70.tar.gz cpython-75cd86599bad05cb372aed9fccc3ff884cd38b70.tar.bz2 |
Fix an ironic typo in a code comment. (gh-109186)
Diffstat (limited to 'Lib/random.py')
-rw-r--r-- | Lib/random.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py index 586c3f7..84bbfc5 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -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 |