[docs] [issue31504] Documentation for return value for string.rindex is missing when search string is empty

Ashok Bakthavathsalam report at bugs.python.org
Mon Sep 18 04:24:45 EDT 2017


Ashok Bakthavathsalam added the comment:

string.find() also exhibits the same behaviour.

"abcde".find("") -> 5 which also is not documented anywhere.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31504>
_______________________________________


More information about the docs mailing list