[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 06:08:03 EDT 2017


Ashok Bakthavathsalam added the comment:

@Storchaka, 

You say `5` is related to the substring. Pray, explain how 5 is related to a null substring? Also, from https://bugs.python.org/msg243710, as per the great Hettinger:

   Though this is closed as not a bug, feel free to add an example or a 
   mention in the documentation.  Keep it short though.  

That's all I am asking to be included.

----------

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


More information about the Python-bugs-list mailing list