summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-09 20:18:41 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-09 20:18:41 (GMT)
commit6b6b39e8b634c8ed7256a1b0702ab26cfc3724e5 (patch)
treef686983c81830fc52d57aaa9949247792d22e6f2 /Lib
parent10fb3863994a7242dd6f86bf8d571d30338f2061 (diff)
downloadcpython-6b6b39e8b634c8ed7256a1b0702ab26cfc3724e5.zip
cpython-6b6b39e8b634c8ed7256a1b0702ab26cfc3724e5.tar.gz
cpython-6b6b39e8b634c8ed7256a1b0702ab26cfc3724e5.tar.bz2
Nuke accurate but confusing and unhelpful comments about split vs splitfields.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/string.py1
-rw-r--r--Lib/stringold.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/Lib/string.py b/Lib/string.py
index bdd9254..913d980 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 dcc1143..2ee0ad9 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