Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ecbbd94e
Commit
ecbbd94e
authored
May 11, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#2809 followup: even better split docstring.
parent
8940ecd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Objects/stringobject.c
Objects/stringobject.c
+2
-2
Objects/unicodeobject.c
Objects/unicodeobject.c
+2
-2
No files found.
Objects/stringobject.c
View file @
ecbbd94e
...
...
@@ -1502,8 +1502,8 @@ PyDoc_STRVAR(split__doc__,
Return a list of the words in the string S, using sep as the
\n
\
delimiter string. If maxsplit is given, at most maxsplit
\n
\
splits are done. If sep is not specified or is None, any
\n
\
whitespace string is a separator and
leading and trailing
\n
\
whitespace is stripped before splitting
."
);
whitespace string is a separator and
empty strings are removed
\n
\
from the result
."
);
static
PyObject
*
string_split
(
PyStringObject
*
self
,
PyObject
*
args
)
...
...
Objects/unicodeobject.c
View file @
ecbbd94e
...
...
@@ -7495,8 +7495,8 @@ PyDoc_STRVAR(split__doc__,
Return a list of the words in S, using sep as the
\n
\
delimiter string. If maxsplit is given, at most maxsplit
\n
\
splits are done. If sep is not specified or is None, any
\n
\
whitespace string is a separator and
leading and trailing
\n
\
whitespace is stripped before splitting
."
);
whitespace string is a separator and
empty strings are
\n
\
removed from the result
."
);
static
PyObject
*
unicode_split
(
PyUnicodeObject
*
self
,
PyObject
*
args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment