Ronald Oussoren <ronaldousso...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue34859> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com