[docs] [issue31504] Documentation for return value for string.rindex is missing when search string is empty
Serhiy Storchaka
report at bugs.python.org
Mon Sep 18 05:43:06 EDT 2017
Serhiy Storchaka added the comment:
5 is not valid index of character, but it is valid index of substring.
IMHO documenting explicitly miscellaneous particular cases which are not exceptions of general rules just adds a noise. This makes the documentation larger and decrease the chance that it will be read.
----------
nosy: +r.david.murray, rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31504>
_______________________________________
More information about the docs
mailing list