Commit 065a32f5 authored by Walter Dörwald's avatar Walter Dörwald

Make the hint about the None default less ambiguous.

parent 782afc59
......@@ -282,7 +282,7 @@ def split(s, sep=None, maxsplit=-1):
Return a list of the words in the string s, using sep as the
delimiter string. If maxsplit is given, splits at no more than
maxsplit places (resulting in at most maxsplit+1 words). If sep
is not specified or None, any whitespace string is a separator.
is not specified or is None, any whitespace string is a separator.
(split and splitfields are synonymous)
......
......@@ -5987,7 +5987,7 @@ PyDoc_STRVAR(split__doc__,
\n\
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 None,
splits are done. If sep is not specified or is None,
any whitespace string is a separator.");
static PyObject*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment