[Python-checkins] CVS: python/dist/src/Lib string.py,1.56,1.57 stringold.py,1.46,1.47
Tim Peters
tim_one@users.sourceforge.net
Fri, 09 Feb 2001 12:18:44 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test test_funcattrs.py,1.4,1.5 test_grammar.py,1.29,1.30 test_new.py,1.11,1.12 test_scope.py,1.3,1.4
- Next message: [Python-checkins] CVS: python/dist/src/Tools/idle setup.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv31882/python/dist/src/Lib
Modified Files:
string.py stringold.py
Log Message:
Nuke accurate but confusing and unhelpful comments about split vs splitfields.
Index: string.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/string.py,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -r1.56 -r1.57
*** string.py 2001/02/09 16:55:52 1.56
--- string.py 2001/02/09 20:18:41 1.57
***************
*** 101,105 ****
# 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
--- 101,104 ----
Index: stringold.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/stringold.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -r1.46 -r1.47
*** stringold.py 2001/02/09 16:56:44 1.46
--- stringold.py 2001/02/09 20:18:41 1.47
***************
*** 99,103 ****
# 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
--- 99,102 ----
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test test_funcattrs.py,1.4,1.5 test_grammar.py,1.29,1.30 test_new.py,1.11,1.12 test_scope.py,1.3,1.4
- Next message: [Python-checkins] CVS: python/dist/src/Tools/idle setup.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]