Fixed a few lines that tabnanny complained about (one space before the

tabs).
This commit is contained in:
Guido van Rossum 1998-08-10 20:07:53 +00:00
parent 2880f6ec95
commit cc221c470f
1 changed files with 5 additions and 5 deletions

View File

@ -127,12 +127,12 @@ class whrandom:
n = (istop - istart + istep - 1) / istep
elif istep < 0:
n = (istop - istart + istep + 1) / istep
else:
raise ValueError, "zero step for randrange()"
else:
raise ValueError, "zero step for randrange()"
if n <= 0:
raise ValueError, "empty range for randrange()"
return istart + istep*int(self.random() * n)
if n <= 0:
raise ValueError, "empty range for randrange()"
return istart + istep*int(self.random() * n)
# Initialize from the current time