Ben Hoyt added the comment:

Good call. Additionally, it's weird to me that the docstring for str.find() 
says "Return -1 on failure." because the string not being found is not a 
"failure". Like the docs 
(https://docs.python.org/3.5/library/stdtypes.html#str.find) say, the 
str.find() docstring should say "Return -1 if sub is not found."

----------
nosy: +benhoyt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to