From 570764ddce285afc32e6bd4bce031e421376b382 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 14 May 2002 14:08:12 +0000 Subject: [PATCH] Use spaces, not tabs for indents. Raymond Hettinger, beware! This caused the Unix install to fail! --- Lib/random.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/random.py b/Lib/random.py index 8747b06fd0..72822f2ca8 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -448,10 +448,10 @@ class Random: # alpha > 0, beta > 0, mean is alpha*beta, variance is alpha*beta**2 - # Warning: a few older sources define the gamma distribution in terms - # of alpha > -1.0 - if alpha <= 0.0 or beta <= 0.0: - raise ValueError, 'gammavariate: alpha and beta must be > 0.0' + # Warning: a few older sources define the gamma distribution in terms + # of alpha > -1.0 + if alpha <= 0.0 or beta <= 0.0: + raise ValueError, 'gammavariate: alpha and beta must be > 0.0' random = self.random if alpha > 1.0: -- 2.40.0