diff Objects/listobject.c @ 59198:799bc4964a1d legacy-trunk

#8030: make builtin type docstrings more consistent: use "iterable" instead of "seq(uence)", use "new" to show that set() always returns a new object.
author Georg Brandl <georg@python.org>
date Sun, 28 Feb 2010 18:19:17 +0000
parents a0efcf9b6edd
children 1c6fc70f49d1
line wrap: on
line diff
--- a/Objects/listobject.c	Sun Feb 28 03:11:07 2010 +0000
+++ b/Objects/listobject.c	Sun Feb 28 18:19:17 2010 +0000
@@ -2537,7 +2537,7 @@
 
 PyDoc_STRVAR(list_doc,
 "list() -> new list\n"
-"list(sequence) -> new list initialized from sequence's items");
+"list(iterable) -> new list initialized from iterable's items");
 
 
 static PyObject *