Make the hint about the None default less ambiguous.

This commit is contained in:
Walter Dörwald 2004-09-14 09:45:10 +00:00
parent 782afc5927
commit 065a32f550
2 changed files with 2 additions and 2 deletions

View file

@ -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)