[docs] [issue31504] Documentation for return value for string.rindex is missing when search string is empty
report at bugs.python.org
Mon Sep 18 05:31:14 EDT 2017
Serhiy Storchaka added the comment:
The documentation doesn't mention empty string specially because there is nothing special with empty string.
Returned index value is valid. "abcde"[5:5] == "".
Issue24243 is about the case of end < start. Not this case.
I don't see a bug here.
Python tracker <report at bugs.python.org>
More information about the docs