From: Tim Peters Date: Fri, 9 Feb 2001 20:18:41 +0000 (+0000) Subject: Nuke accurate but confusing and unhelpful comments about split vs splitfields. X-Git-Tag: v2.1b1~430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b6b39e8b634c8ed7256a1b0702ab26cfc3724e5;p=python Nuke accurate but confusing and unhelpful comments about split vs splitfields. --- diff --git a/Lib/string.py b/Lib/string.py index bdd9254966..913d980bae 100644 --- a/Lib/string.py +++ b/Lib/string.py @@ -100,7 +100,6 @@ def rstrip(s): # Split a string into a list of space/tab-separated words -# NB: split(s) is NOT the same as splitfields(s, ' ')! def split(s, sep=None, maxsplit=-1): """split(s [,sep [,maxsplit]]) -> list of strings diff --git a/Lib/stringold.py b/Lib/stringold.py index dcc1143f9a..2ee0ad950a 100644 --- a/Lib/stringold.py +++ b/Lib/stringold.py @@ -98,7 +98,6 @@ def rstrip(s): # Split a string into a list of space/tab-separated words -# NB: split(s) is NOT the same as splitfields(s, ' ')! def split(s, sep=None, maxsplit=0): """split(str [,sep [,maxsplit]]) -> list of strings