summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-01-18 20:29:55 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-01-18 20:29:55 (GMT)
commit58eb11cf62dd04ccc2c364b62fd51b4265e2e203 (patch)
tree6b4639f640391b3d40332ee045dba325c63a920d /Lib/random.py
parent5303a968080bdb2690eaab89495ae51939fa6397 (diff)
downloadcpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.zip
cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.gz
cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.bz2
Whitespace normalization.
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)