]> granicus.if.org Git - python/commitdiff
Nuke accurate but confusing and unhelpful comments about split vs splitfields.
authorTim Peters <tim.peters@gmail.com>
Fri, 9 Feb 2001 20:18:41 +0000 (20:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 9 Feb 2001 20:18:41 +0000 (20:18 +0000)
Lib/string.py
Lib/stringold.py

index bdd9254966d50ceb23b32aad4d0da7090163c4b8..913d980bae6df9425f1c1cda80fd5de6dfbeb18f 100644 (file)
@@ -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
 
index dcc1143f9a0ada478767622174346db4e9c8f87f..2ee0ad950afe403e1eae1db0779709868170cbff 100644 (file)
@@ -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