From 1fc76d75282b1590c82fe1a376663b1839447864 Mon Sep 17 00:00:00 2001 From: AndrewLaneAtPowerSchool <123406472+AndrewLaneAtPowerSchool@users.noreply.github.com> Date: Fri, 19 May 2023 09:28:25 -0400 Subject: [PATCH] Update rinddex.rst rindex finds the last occurrence of the search string, not the first --- source/docs/str/rinddex.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/str/rinddex.rst b/source/docs/str/rinddex.rst index ca38875..4c76899 100644 --- a/source/docs/str/rinddex.rst +++ b/source/docs/str/rinddex.rst @@ -4,7 +4,7 @@ rindex Description ---------- -Returns the index of the first occurrence of the string searched for (raises *ValueError* if not found). +Returns the index of the last occurrence of the string searched for (raises *ValueError* if not found). Syntax ------