We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

str.rindex

rindex(sub[, start[, end]])

Like str.rfind but raises ValueError when the substring sub is not found.