Repair apparent cut'n'pasteo in tuple() docstring.
authorTim Peters <tim.peters@gmail.com>
Sun, 2 Sep 2001 06:29:48 +0000 (06:29 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 2 Sep 2001 06:29:48 +0000 (06:29 +0000)
Objects/tupleobject.c

index 6401dcafa218a377a48d49090b4c29b902e7a3bc..78b80e3b4803a167e39879e970232f7cfb949516 100644 (file)
@@ -522,7 +522,7 @@ tuple_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
 }
 
 static char tuple_doc[] =
-"tuple(sequence) -> list\n\
+"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.";