Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42303>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to