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
bc552ce1
Commit
bc552ce1
authored
Aug 05, 2002
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF 582071 clarified the .split() method's docstring to note that sep=None
will trigger splitting on any whitespace.
parent
acb45d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Objects/stringobject.c
Objects/stringobject.c
+2
-2
No files found.
Objects/stringobject.c
View file @
bc552ce1
...
...
@@ -1126,8 +1126,8 @@ PyDoc_STRVAR(split__doc__,
\n
\
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
, any whitespace string
\n
\
is a separator."
);
splits are done. If sep is not specified
or is None, any
\n
\
whitespace string
is a separator."
);
static
PyObject
*
string_split
(
PyStringObject
*
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