summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-28 18:19:17 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-28 18:19:17 (GMT)
commitbca1169e94f81b140629ae69ce2ab33628d26b08 (patch)
tree6f5f7e79c639fc8523800353aa7b542b0189f932 /Objects/dictobject.c
parent68beef66335707f8d0daac208dcf56bfcece8315 (diff)
downloadcpython-bca1169e94f81b140629ae69ce2ab33628d26b08.zip
cpython-bca1169e94f81b140629ae69ce2ab33628d26b08.tar.gz
cpython-bca1169e94f81b140629ae69ce2ab33628d26b08.tar.bz2
#8030: make builtin type docstrings more consistent: use "iterable" instead of "seq(uence)", use "new" to show that set() always returns a new object.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index b20d6f3..517c20c 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2330,9 +2330,9 @@ PyDoc_STRVAR(dictionary_doc,
"dict() -> new empty dictionary.\n"
"dict(mapping) -> new dictionary initialized from a mapping object's\n"
" (key, value) pairs.\n"
-"dict(seq) -> new dictionary initialized as if via:\n"
+"dict(iterable) -> new dictionary initialized as if via:\n"
" d = {}\n"
-" for k, v in seq:\n"
+" for k, v in iterable:\n"
" d[k] = v\n"
"dict(**kwargs) -> new dictionary initialized with the name=value pairs\n"
" in the keyword argument list. For example: dict(one=1, two=2)");