[Python-checkins] CVS: python/dist/src/Lib string.py,1.60,1.61

Fred L. Drake fdrake@users.sourceforge.net
Wed, 30 Jan 2002 08:15:15 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv2949/Lib

Modified Files:
	string.py 
Log Message:
string.split() docstring described the interpretation of the maxsplit
argument incorrectly.
This closes SF bug #505997.


Index: string.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/string.py,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** string.py	2001/07/20 18:38:26	1.60
--- string.py	2002/01/30 16:15:13	1.61
***************
*** 108,114 ****
  
      Return a list of the words in the string s, using sep as the
!     delimiter string.  If maxsplit is given, splits into at most
!     maxsplit words.  If sep is not specified, any whitespace string
!     is a separator.
  
      (split and splitfields are synonymous)
--- 108,114 ----
  
      Return a list of the words in the string s, using sep as the
!     delimiter string.  If maxsplit is given, splits at no more than
!     maxsplit places (resulting in at most maxsplit+1 words).  If sep
!     is not specified, any whitespace string is a separator.
  
      (split and splitfields are synonymous)