Setting a string to start
and step
argument of itertools.count()
gets a wrong error message
#135284
Labels
extension-modules
C modules in the Modules dir
invalid
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
Setting a string to
start
andstep
argument of itertools.count() gets the error message as shown below:But setting a boolean value to
start
andstep
argument works as shown below:So, the error message should be the same as the one of range() as shown below:
CPython versions tested on:
3.13
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: