Skip to content

Commit 8490386

Browse files
committed
Trim trailing whitespace
1 parent 8feb45a commit 8490386

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/random.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -828,9 +828,9 @@ def binomialvariate(self, n=1, p=0.5):
828828
if not c:
829829
return x
830830
while True:
831-
try:
832-
y += _floor(_log2(random()) / c) + 1
833-
except ValueError:
831+
try:
832+
y += _floor(_log2(random()) / c) + 1
833+
except ValueError:
834834
continue
835835
if y > n:
836836
return x

0 commit comments

Comments
 (0)