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

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


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

Modified Files:
      Tag: release21-maint
	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.59
retrieving revision 1.59.4.1
diff -C2 -d -r1.59 -r1.59.4.1
*** string.py	2001/02/18 03:30:53	1.59
--- string.py	2002/01/30 16:16:38	1.59.4.1
***************
*** 105,111 ****
  
      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)
--- 105,111 ----
  
      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)