From 065a32f5508152a4d9781e611185c48ab46ed108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Tue, 14 Sep 2004 09:45:10 +0000 Subject: Make the hint about the None default less ambiguous. --- Lib/string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/string.py') 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) -- cgit v1.2.1