summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-05-14 14:08:12 (GMT)
committerGuido van Rossum <guido@python.org>2002-05-14 14:08:12 (GMT)
commit570764ddce285afc32e6bd4bce031e421376b382 (patch)
treeaf6a5b2c3acf458a54ed1cbe6d06de427c821822 /Lib/random.py
parent2d2b51bf2290a9d941d96956f18c69d5830a1778 (diff)
downloadcpython-570764ddce285afc32e6bd4bce031e421376b382.zip
cpython-570764ddce285afc32e6bd4bce031e421376b382.tar.gz
cpython-570764ddce285afc32e6bd4bce031e421376b382.tar.bz2
Use spaces, not tabs for indents.
Raymond Hettinger, beware! This caused the Unix install to fail!
Diffstat (limited to 'Lib/random.py')
-rw-r--r--Lib/random.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/random.py b/Lib/random.py
index 8747b06..72822f2 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: