mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Whitespace normalization.
This commit is contained in:
parent
5303a96808
commit
58eb11cf62
34 changed files with 69 additions and 76 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue