Skip to content

Commit 9d6eaf7

Browse files
authored
Clean up whitespace
1 parent 5649c59 commit 9d6eaf7

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
@@ -841,9 +841,9 @@ def binomialvariate(self, n=1, p=0.5):
841841
except ValueError:
842842
# Handle rare case of log(0.0)
843843
continue
844-
if y > n:
845-
return x
846-
x += 1
844+
if y > n:
845+
return x
846+
x += 1
847847

848848
# BTRS: Transformed rejection with squeeze method by Wolfgang Hörmann
849849
# https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.47.8407&rep=rep1&type=pdf

0 commit comments

Comments
 (0)