[issue34859] python core in string substring search

Ronald Oussoren report at bugs.python.org
Mon Oct 1 04:36:25 EDT 2018


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

What do you think the problem is? The output of the script is what I'd expect it to be.

Note that str.find() returns -1 when the needle is not present (and the first offset where the needle is found when it is present).

----------
nosy: +ronaldoussoren

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


More information about the Python-bugs-list mailing list