summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-03-01 04:08:34 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-03-01 04:08:34 (GMT)
commit7f807b79d83df2333a777360d1e2fd8ff469f1e7 (patch)
tree3cc973c5aefdd96b16ccd0dab253d2f93c25da3d /Objects/listobject.c
parentf50f168cf5a3e41ccaebcfb1de454ab846a109e6 (diff)
downloadcpython-7f807b79d83df2333a777360d1e2fd8ff469f1e7.zip
cpython-7f807b79d83df2333a777360d1e2fd8ff469f1e7.tar.gz
cpython-7f807b79d83df2333a777360d1e2fd8ff469f1e7.tar.bz2
Merged revisions 78515-78516,78522 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78515 | georg.brandl | 2010-02-28 20:19:17 +0200 (Sun, 28 Feb 2010) | 1 line #8030: make builtin type docstrings more consistent: use "iterable" instead of "seq(uence)", use "new" to show that set() always returns a new object. ........ r78516 | georg.brandl | 2010-02-28 20:26:37 +0200 (Sun, 28 Feb 2010) | 1 line The set types can also be called without arguments. ........ r78522 | ezio.melotti | 2010-03-01 01:59:00 +0200 (Mon, 01 Mar 2010) | 1 line #8030: more docstring fix for builtin types. ........
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 88e2291..ae8721e 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2357,8 +2357,8 @@ static PySequenceMethods list_as_sequence = {
};
PyDoc_STRVAR(list_doc,
-"list() -> new list\n"
-"list(sequence) -> new list initialized from sequence's items");
+"list() -> new empty list\n"
+"list(iterable) -> new list initialized from iterable's items");
static PyObject *
list_subscript(PyListObject* self, PyObject* item)