[Python-checkins] python/dist/src/Objects stringobject.c,2.173,2.174

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


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

Modified Files:
	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.173
retrieving revision 2.174
diff -C2 -d -r2.173 -r2.174
*** stringobject.c	28 Jul 2002 16:44:23 -0000	2.173
--- stringobject.c	5 Aug 2002 06:28:21 -0000	2.174
***************
*** 1127,1132 ****
  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 *
--- 1127,1132 ----
  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 *