[issue39304] Don't accept a negative number for the count argument in str.replace(old, new[, count])

Steven D'Aprano report at bugs.python.org
Sat Jan 11 11:48:52 EST 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Oops, I meant Lib/test/string_tests.py not "test_string.py".

----------

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


More information about the Python-bugs-list mailing list