mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
fix comment (#1798)
This commit is contained in:
parent
21c2dd7cf8
commit
9f396b605e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue