[docs] [issue31504] Documentation for return value for string.rindex is missing when search string is empty

Vedran Čačić report at bugs.python.org
Mon Sep 18 10:14:07 EDT 2017

Vedran Čačić added the comment:

This is nonsense. 'abcde'[7:7] is also ''. So the maximal index in fact doesn't exist. What do you think exactly is the property that differentiates 5 from 7 here?

nosy: +veky

Python tracker <report at bugs.python.org>

More information about the docs mailing list