Kaydet (Commit) 6b6b39e8 authored tarafından Tim Peters's avatar Tim Peters

Nuke accurate but confusing and unhelpful comments about split vs splitfields.

üst 10fb3863
...@@ -100,7 +100,6 @@ def rstrip(s): ...@@ -100,7 +100,6 @@ def rstrip(s):
# Split a string into a list of space/tab-separated words # 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): def split(s, sep=None, maxsplit=-1):
"""split(s [,sep [,maxsplit]]) -> list of strings """split(s [,sep [,maxsplit]]) -> list of strings
......
...@@ -98,7 +98,6 @@ def rstrip(s): ...@@ -98,7 +98,6 @@ def rstrip(s):
# Split a string into a list of space/tab-separated words # 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): def split(s, sep=None, maxsplit=0):
"""split(str [,sep [,maxsplit]]) -> list of strings """split(str [,sep [,maxsplit]]) -> list of strings
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment