Steven D'Aprano <[email protected]> added the comment:
# True
data.find('a', 0)
That will return 0, not True.
# False
data.find('a', start=0)
And that will raise TypeError, not return False.
What exactly are you reporting here? I have read your bug report, and looked at
the screen shot, and I have no idea what problem you think you have found or
what you want to change about the documentation.
----------
nosy: +steven.daprano
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42776>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com