[issue42303] I found a bug while checking string with find()
Serhiy Storchaka
report at bugs.python.org
Tue Nov 10 04:45:12 EST 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
str.find() does not work like you think. Please read the documentation.
In your case you likely need to use the "in" operator.
----------
nosy: +serhiy.storchaka
resolution: wont fix -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42303>
_______________________________________
More information about the Python-bugs-list
mailing list