Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 570764d

Browse files
committed
Use spaces, not tabs for indents.
Raymond Hettinger, beware! This caused the Unix install to fail!
1 parent 2d2b51b commit 570764d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/random.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,10 @@ def gammavariate(self, alpha, beta):
448448

449449
# alpha > 0, beta > 0, mean is alpha*beta, variance is alpha*beta**2
450450

451-
# Warning: a few older sources define the gamma distribution in terms
452-
# of alpha > -1.0
453-
if alpha <= 0.0 or beta <= 0.0:
454-
raise ValueError, 'gammavariate: alpha and beta must be > 0.0'
451+
# Warning: a few older sources define the gamma distribution in terms
452+
# of alpha > -1.0
453+
if alpha <= 0.0 or beta <= 0.0:
454+
raise ValueError, 'gammavariate: alpha and beta must be > 0.0'
455455

456456
random = self.random
457457
if alpha > 1.0:

0 commit comments

Comments
 (0)