Nuke accurate but confusing and unhelpful comments about split vs splitfields.
This commit is contained in:
parent
10fb386399
commit
6b6b39e8b6
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user