diff options
author | Walter Dörwald <walter@livinglogic.de> | 2004-09-14 09:45:10 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2004-09-14 09:45:10 +0000 |
commit | c0a994e577a4fb3cee66810e61d7c66428e750e3 (patch) | |
tree | f52637f00722ebc77323844848d24dbd1d021f31 /Lib/string.py | |
parent | c4e6a2cff1c32748e74c1b48d6006cee4147a5a1 (diff) | |
download | cpython-c0a994e577a4fb3cee66810e61d7c66428e750e3.tar.gz |
Make the hint about the None default less ambiguous.
Diffstat (limited to 'Lib/string.py')
-rw-r--r-- | Lib/string.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/string.py b/Lib/string.py index ce392be4e9..f8b4490de0 100644 --- a/Lib/string.py +++ b/Lib/string.py @@ -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) |