Skip to content

Commit 9f396b6

Browse files
leodemamdickinson
authored andcommitted
fix comment (#1798)
1 parent 21c2dd7 commit 9f396b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def gammavariate(self, alpha, beta):
540540
return x * beta
541541

542542
elif alpha == 1.0:
543-
# expovariate(1)
543+
# expovariate(1/beta)
544544
u = random()
545545
while u <= 1e-7:
546546
u = random()

0 commit comments

Comments
 (0)