mirror of https://github.com/python/cpython
fix comment (#1798)
This commit is contained in:
parent
21c2dd7cf8
commit
9f396b605e
|
@ -540,7 +540,7 @@ class Random(_random.Random):
|
|||
return x * beta
|
||||
|
||||
elif alpha == 1.0:
|
||||
# expovariate(1)
|
||||
# expovariate(1/beta)
|
||||
u = random()
|
||||
while u <= 1e-7:
|
||||
u = random()
|
||||
|
|
Loading…
Reference in New Issue