From 0b0f8af1c8eed7e6bccd419334460de37e81a0c3 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 9 Sep 2023 09:33:08 -0500 Subject: [PATCH] Fix an ironic typo in a code comment. --- Lib/random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/random.py b/Lib/random.py index 586c3f7f9da938..84bbfc5df1bf23 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -827,7 +827,7 @@ def binomialvariate(self, n=1, p=0.5): 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