From: Guido van Rossum Date: Tue, 14 May 2002 14:07:12 +0000 (+0000) Subject: Use spaces, not tabs for indents. X-Git-Tag: v2.2.2b1~369 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91dfd453500e6cd13b96c717edb472990923d620;p=thirdparty%2FPython%2Fcpython.git Use spaces, not tabs for indents. Raymond Hettinger, beware! This caused the Unix install to fail! --- diff --git a/Lib/random.py b/Lib/random.py index a761a21cfe9c..23ac8dbc3ec9 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -445,10 +445,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: