summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/stringobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index c40bc18..3c1b303 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -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)