From 912a892cf79f77410dfa5fe53f75f3d40278fb7f Mon Sep 17 00:00:00 2001 From: Unique-Usman Date: Tue, 24 Oct 2023 13:12:16 +0530 Subject: [PATCH] Changed the doc for str.rsplit to be from 'starting from the left' to 'starting from the right' as str.rsplit start from the right --- Objects/clinic/unicodeobject.c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/clinic/unicodeobject.c.h b/Objects/clinic/unicodeobject.c.h index 7711434f17c2bc..82d11b51e01642 100644 --- a/Objects/clinic/unicodeobject.c.h +++ b/Objects/clinic/unicodeobject.c.h @@ -1078,7 +1078,7 @@ PyDoc_STRVAR(unicode_rsplit__doc__, " character (including \\n \\r \\t \\f and spaces) and will discard\n" " empty strings from the result.\n" " maxsplit\n" -" Maximum number of splits (starting from the left).\n" +" Maximum number of splits (starting from the right).\n" " -1 (the default value) means no limit.\n" "\n" "Splitting starts at the end of the string and works to the front.");