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