This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author veky
Recipients docs@python, kgashok, martin.panter, r.david.murray, rhettinger, serhiy.storchaka, veky
Date 2020-10-31.19:44:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604173487.41.0.805045030205.issue31504@roundup.psfhosted.org>
In-reply-to
Content
Maybe you would use 5, but I would use 7 and get the same result. If the docs say "X.rindex(Y) == i means i is the highest index where Y is found in X", and "Y is found in X at i" is interpreted as "X[i:i+len(Y)] == Y" (as Serhiy said), then there is no such (highest) index.

I understand what _you_'re saying, but please understand that the docs do not say anything like that.
History
Date User Action Args
2020-10-31 19:44:47vekysetrecipients: + veky, rhettinger, r.david.murray, docs@python, martin.panter, serhiy.storchaka, kgashok
2020-10-31 19:44:47vekysetmessageid: <1604173487.41.0.805045030205.issue31504@roundup.psfhosted.org>
2020-10-31 19:44:47vekylinkissue31504 messages
2020-10-31 19:44:47vekycreate