diff options
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 4 |
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) |