Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b6b39e

Browse files
committed
Nuke accurate but confusing and unhelpful comments about split vs splitfields.
1 parent 10fb386 commit 6b6b39e

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/string.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def rstrip(s):
100100

101101

102102
# Split a string into a list of space/tab-separated words
103-
# NB: split(s) is NOT the same as splitfields(s, ' ')!
104103
def split(s, sep=None, maxsplit=-1):
105104
"""split(s [,sep [,maxsplit]]) -> list of strings
106105

Lib/stringold.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ def rstrip(s):
9898

9999

100100
# Split a string into a list of space/tab-separated words
101-
# NB: split(s) is NOT the same as splitfields(s, ' ')!
102101
def split(s, sep=None, maxsplit=0):
103102
"""split(str [,sep [,maxsplit]]) -> list of strings
104103

0 commit comments

Comments
 (0)