diff --git a/Lib/random.py b/Lib/random.py index e00a02623890a4..8925b52c4730a7 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -216,7 +216,7 @@ def randrange(self, start, stop=None, step=1, _int=int): if step == 1 and width > 0: return istart + self._randbelow(width) if step == 1: - raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width)) + raise ValueError("empty range for randrange() (%d, %d, %d)" % (istart, istop, width)) # Non-unit step argument supplied. istep = _int(step)