Kaydet (Commit) cc221c47 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

tabs).
üst 2880f6ec
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment