diff Objects/tupleobject.c @ 59205:1c6fc70f49d1 legacy-trunk

#8030: more docstring fix for builtin types.
author Ezio Melotti <ezio.melotti@gmail.com>
date Sun, 28 Feb 2010 23:59:00 +0000
parents 2ffd19a224d4
children 7be8129ee0fd
line wrap: on
line diff
--- a/Objects/tupleobject.c	Sun Feb 28 18:36:09 2010 +0000
+++ b/Objects/tupleobject.c	Sun Feb 28 23:59:00 2010 +0000
@@ -681,10 +681,10 @@
 }
 
 PyDoc_STRVAR(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.");
+"tuple() -> empty tuple\n\
+tuple(iterable) -> tuple initialized from iterable's items\n\
+\n\
+If the argument is a tuple, the return value is the same object.");
 
 static PySequenceMethods tuple_as_sequence = {
 	(lenfunc)tuplelength,			/* sq_length */