From: leodema Date: Sun, 4 Jun 2017 06:41:41 +0000 (+0100) Subject: fix comment (#1798) X-Git-Tag: v3.7.0a1~694 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f396b605ec03fc5af100222f1b0a9063ac02a0b;p=python fix comment (#1798) --- diff --git a/Lib/random.py b/Lib/random.py index b54d524488..e1c2c2bbcb 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -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()