Ashok Bakthavathsalam added the comment: Also, "".rindex("") returns 0 ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue31504> _______________________________________