diff options
author | Walter Dörwald <walter@livinglogic.de> | 2004-09-14 09:45:10 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2004-09-14 09:45:10 (GMT) |
commit | 065a32f5508152a4d9781e611185c48ab46ed108 (patch) | |
tree | 69352c62c8f5ea44627c1f191a5081144e2c2e1d /Lib/string.py | |
parent | 782afc5927c5d37c3de1a082b6363a79e4bd5962 (diff) | |
download | cpython-065a32f5508152a4d9781e611185c48ab46ed108.zip cpython-065a32f5508152a4d9781e611185c48ab46ed108.tar.gz cpython-065a32f5508152a4d9781e611185c48ab46ed108.tar.bz2 |
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 ce392be..f8b4490 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) |