summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-02 06:29:48 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-09-02 06:29:48 (GMT)
commit9577761337af6f3d052ea793b25656bcea2c92c9 (patch)
tree16234f83c445a5c84e838ab1535113b0934f64f5
parentb86677079d95a8296dbc0b5a21311cb68a3c7f40 (diff)
downloadcpython-9577761337af6f3d052ea793b25656bcea2c92c9.zip
cpython-9577761337af6f3d052ea793b25656bcea2c92c9.tar.gz
cpython-9577761337af6f3d052ea793b25656bcea2c92c9.tar.bz2
Repair apparent cut'n'pasteo in tuple() docstring.
-rw-r--r--Objects/tupleobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index 6401dca..78b80e3 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -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.";