diff options
Diffstat (limited to 'Lib/random.py')
-rw-r--r-- | Lib/random.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py index 1f279bb..a2415ae 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -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) |