summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/random.py')
-rw-r--r--Lib/random.py2
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)