diff options
author | Kumar Akshay <k.akshay9721@gmail.com> | 2019-01-21 19:19:59 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-01-21 19:19:59 (GMT) |
commit | 2433a2ab705e93f9a44f01c260d351b205a73e9d (patch) | |
tree | 899c09dee5da53755381749f2a52970ee730be74 | |
parent | e9b185f2a493cc54f0d49eac44bf21e8d7de2990 (diff) | |
download | cpython-2433a2ab705e93f9a44f01c260d351b205a73e9d.zip cpython-2433a2ab705e93f9a44f01c260d351b205a73e9d.tar.gz cpython-2433a2ab705e93f9a44f01c260d351b205a73e9d.tar.bz2 |
bpo-35782: Fix error message in randrange (GH-11620)
https://bugs.python.org/issue35782
-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 e00a026..8925b52 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -216,7 +216,7 @@ class Random(_random.Random): 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) |