diff options
author | Georg Brandl <georg@python.org> | 2010-02-28 18:19:17 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-28 18:19:17 (GMT) |
commit | bca1169e94f81b140629ae69ce2ab33628d26b08 (patch) | |
tree | 6f5f7e79c639fc8523800353aa7b542b0189f932 /Objects/setobject.c | |
parent | 68beef66335707f8d0daac208dcf56bfcece8315 (diff) | |
download | cpython-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/setobject.c')
-rw-r--r-- | Objects/setobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index 81fd315..45a9afc 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -2102,7 +2102,7 @@ static PyNumberMethods set_as_number = { }; PyDoc_STRVAR(set_doc, -"set(iterable) --> set object\n\ +"set(iterable) -> new set object\n\ \n\ Build an unordered collection of unique elements."); @@ -2200,7 +2200,7 @@ static PyNumberMethods frozenset_as_number = { }; PyDoc_STRVAR(frozenset_doc, -"frozenset(iterable) --> frozenset object\n\ +"frozenset(iterable) -> frozenset object\n\ \n\ Build an immutable unordered collection of unique elements."); |