diff options
author | Raymond Hettinger <python@rcn.com> | 2002-12-29 05:49:09 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-12-29 05:49:09 (GMT) |
commit | f8bcfb13f126d3990dbccecb48a3d74b11e7841e (patch) | |
tree | 4a2b22a8f724ecc6ae72b368aa68b6736efe81a2 /Objects/listobject.c | |
parent | 4643bd9a9cf43332992d10982c52debf3f0d980c (diff) | |
download | cpython-f8bcfb13f126d3990dbccecb48a3d74b11e7841e.zip cpython-f8bcfb13f126d3990dbccecb48a3d74b11e7841e.tar.gz cpython-f8bcfb13f126d3990dbccecb48a3d74b11e7841e.tar.bz2 |
SF Bug 645777: list.extend() works with any iterable and is no longer
experimental.
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index 25372d3..ba47028 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -2055,7 +2055,7 @@ list_nohash(PyObject *self) PyDoc_STRVAR(append_doc, "L.append(object) -- append object to end"); PyDoc_STRVAR(extend_doc, -"L.extend(sequence) -- extend list by appending sequence elements"); +"L.extend(iterable) -- extend list by appending elements from the iterable"); PyDoc_STRVAR(insert_doc, "L.insert(index, object) -- insert object before index"); PyDoc_STRVAR(pop_doc, |