[Python-checkins] CVS: python/dist/src/Objects tupleobject.c,2.58,2.59

Tim Peters tim_one@users.sourceforge.net
Sat, 01 Sep 2001 23:42:28 -0700


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

Modified Files:
	tupleobject.c 
Log Message:
Rewrite the tuple() docstring to parallel the list() docstring.


Index: tupleobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/tupleobject.c,v
retrieving revision 2.58
retrieving revision 2.59
diff -C2 -d -r2.58 -r2.59
*** tupleobject.c	2001/09/02 06:29:48	2.58
--- tupleobject.c	2001/09/02 06:42:25	2.59
***************
*** 523,530 ****
  
  static char tuple_doc[] =
! "tuple(sequence) -> tuple\n\
! \n\
! Return a tuple whose items are the same as those of the argument sequence.\n\
! If the argument is a tuple, the return value is the same object.";
  
  static PySequenceMethods tuple_as_sequence = {
--- 523,530 ----
  
  static char tuple_doc[] =
! "tuple() -> an empty tuple\n"
! "tuple(sequence) -> tuple initialized from sequence's items\n"
! "\n"
! "If the argument is a tuple, the return value is the same object.";
  
  static PySequenceMethods tuple_as_sequence = {