diff options
author | Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 2023-09-08 13:19:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 13:19:38 (GMT) |
commit | 2979cee1af755eac6eab02acbe7d90048ba011f4 (patch) | |
tree | 1f5636a0419db23208bd7a6186964b10b6ab83b7 /Objects/clinic | |
parent | de0202e937ead659d97f0b243fda3db48720c79f (diff) | |
download | cpython-2979cee1af755eac6eab02acbe7d90048ba011f4.zip cpython-2979cee1af755eac6eab02acbe7d90048ba011f4.tar.gz cpython-2979cee1af755eac6eab02acbe7d90048ba011f4.tar.bz2 |
[3.12] gh-108915: Removes extra backslashes in str.split docstring (GH-109044). (#109061)
* [3.12] gh-108915: Removes extra backslashes in str.split docstring (GH-109044).
(cherry picked from commit e7d5433f944a5725aa82595f9251abfc8a63d333)
Co-authored-by: Daniel Weiss <134341009+justdan6@users.noreply.github.com>
* re-clinic
---------
Co-authored-by: Daniel Weiss <134341009+justdan6@users.noreply.github.com>
Diffstat (limited to 'Objects/clinic')
-rw-r--r-- | Objects/clinic/unicodeobject.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/clinic/unicodeobject.c.h b/Objects/clinic/unicodeobject.c.h index f640c99..d3769eb 100644 --- a/Objects/clinic/unicodeobject.c.h +++ b/Objects/clinic/unicodeobject.c.h @@ -934,7 +934,7 @@ PyDoc_STRVAR(unicode_split__doc__, " The separator used to split the string.\n" "\n" " When set to None (the default value), will split on any whitespace\n" -" character (including \\\\n \\\\r \\\\t \\\\f and spaces) and will discard\n" +" 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" @@ -1058,7 +1058,7 @@ PyDoc_STRVAR(unicode_rsplit__doc__, " The separator used to split the string.\n" "\n" " When set to None (the default value), will split on any whitespace\n" -" character (including \\\\n \\\\r \\\\t \\\\f and spaces) and will discard\n" +" 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" @@ -1497,4 +1497,4 @@ skip_optional_pos: exit: return return_value; } -/*[clinic end generated code: output=05d942840635dadf input=a9049054013a1b77]*/ +/*[clinic end generated code: output=32edbbf75dc8a03b input=a9049054013a1b77]*/ |