mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-108915: Removes extra backslashes in str.split docstring (#109044)
This commit is contained in:
parent
fd5989bda1
commit
e7d5433f94
2 changed files with 5 additions and 5 deletions
6
Objects/clinic/unicodeobject.c.h
generated
6
Objects/clinic/unicodeobject.c.h
generated
|
@ -950,7 +950,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"
|
||||
|
@ -1074,7 +1074,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"
|
||||
|
@ -1504,4 +1504,4 @@ skip_optional_pos:
|
|||
exit:
|
||||
return return_value;
|
||||
}
|
||||
/*[clinic end generated code: output=8d08dfbb814c4393 input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=4acdcfdc93f2a0f6 input=a9049054013a1b77]*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue