Whitespace normalization.

This commit is contained in:
Tim Peters 2004-01-18 20:29:55 +00:00
parent 5303a96808
commit 58eb11cf62
34 changed files with 69 additions and 76 deletions

View file

@ -177,7 +177,7 @@ class Random(_random.Random):
# compatibility).
if width >= maxwidth:
return int(istart + self._randbelow(width))
return int(istart + self._randbelow(width))
return int(istart + int(self.random()*width))
if step == 1:
raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width)