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

Aurora report at bugs.python.org
Sat Jan 11 08:42:38 EST 2020


New submission from Aurora <auroralanes at pm.me>:

It's meaningless for the count argument to have a negative value, since there's no such thing as negative count for something.

----------
components: Library (Lib)
messages: 359795
nosy: opensource-assist
priority: normal
severity: normal
status: open
title: Don't accept a negative number for the count argument in str.replace(old, new[,count])
type: behavior
versions: Python 3.9

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


More information about the New-bugs-announce mailing list