diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-28 23:59:00 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-28 23:59:00 +0000 |
commit | fb501123e3c23c3e4f2861645d58134f307ea99b (patch) | |
tree | d2938ca033f6017a9487362f66c301726b802eb9 /Objects/tupleobject.c | |
parent | 613c7a549abefd1f7806b61589667de683d76858 (diff) | |
download | cpython-git-fb501123e3c23c3e4f2861645d58134f307ea99b.tar.gz |
#8030: more docstring fix for builtin types.
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 384b83068a..7376f1a12b 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -681,10 +681,10 @@ tuple_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds) } 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 */ |