From c9158c9ab953cee5290f9f1592b8f5fa7425aca2 Mon Sep 17 00:00:00 2001 From: Leonardo De Marchi Date: Wed, 24 May 2017 23:04:21 +0100 Subject: [PATCH] fix comment --- Lib/random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/random.py b/Lib/random.py index ad1c9167b02a65..941f2825de5f49 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -539,7 +539,7 @@ def gammavariate(self, alpha, beta): return x * beta elif alpha == 1.0: - # expovariate(1) + # expovariate(1/beta) u = random() while u <= 1e-7: u = random()