Message380092
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. |
|
Date |
User |
Action |
Args |
2020-10-31 19:44:47 | veky | set | recipients:
+ veky, rhettinger, r.david.murray, docs@python, martin.panter, serhiy.storchaka, kgashok |
2020-10-31 19:44:47 | veky | set | messageid: <1604173487.41.0.805045030205.issue31504@roundup.psfhosted.org> |
2020-10-31 19:44:47 | veky | link | issue31504 messages |
2020-10-31 19:44:47 | veky | create | |
|