[Python-checkins] python/dist/src/Objects stringobject.c,2.147.6.6,2.147.6.7

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Sun, 04 Aug 2002 23:28:57 -0700


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

Modified Files:
      Tag: release22-maint
	stringobject.c 
Log Message:
SF 582071 clarified the .split() method's docstring to note that sep=None
will trigger splitting on any whitespace.


Index: stringobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/stringobject.c,v
retrieving revision 2.147.6.6
retrieving revision 2.147.6.7
diff -C2 -d -r2.147.6.6 -r2.147.6.7
*** stringobject.c	28 Jul 2002 10:21:31 -0000	2.147.6.6
--- stringobject.c	5 Aug 2002 06:28:55 -0000	2.147.6.7
***************
*** 1099,1104 ****
  Return a list of the words in the string S, using sep as the\n\
  delimiter string.  If maxsplit is given, at most maxsplit\n\
! splits are done. If sep is not specified, any whitespace string\n\
! is a separator.";
  
  static PyObject *
--- 1099,1104 ----
  Return a list of the words in the string S, using sep as the\n\
  delimiter string.  If maxsplit is given, at most maxsplit\n\
! splits are done. If sep is not specified or is None, any\n\
! whitespace string is a separator.";
  
  static PyObject *