[New-bugs-announce] [issue35782] Missing whitespace after comma in randrange raise error

Louie Lu report at bugs.python.org
Sat Jan 19 00:53:32 EST 2019


New submission from Louie Lu <me at louie.lu>:

In random.py:randrange

  File "/usr/lib/python3.7/random.py", line 200, in randrange
    raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (3,3, 0)


should be "empty range for randrange() (3, 3, 0)"

----------
components: Library (Lib)
messages: 334033
nosy: louielu
priority: normal
severity: normal
status: open
title: Missing whitespace after comma in randrange raise error
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35782>
_______________________________________


More information about the New-bugs-announce mailing list