]> granicus.if.org Git - python/commitdiff
[Bug #1414697] Change docstring of set/frozenset types to specify that the contents...
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 29 Jul 2006 15:10:32 +0000 (15:10 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 29 Jul 2006 15:10:32 +0000 (15:10 +0000)
Objects/setobject.c

index 3ddb6754753acb67e6dd4651f841caaa4f52bd6a..8ba0ce4865a32bb7c622f85fe90e6c8195ffb6bb 100644 (file)
@@ -1797,7 +1797,7 @@ static PyNumberMethods set_as_number = {
 PyDoc_STRVAR(set_doc,
 "set(iterable) --> set object\n\
 \n\
-Build an unordered collection.");
+Build an unordered collection of unique elements.");
 
 PyTypeObject PySet_Type = {
        PyObject_HEAD_INIT(&PyType_Type)
@@ -1892,7 +1892,7 @@ static PyNumberMethods frozenset_as_number = {
 PyDoc_STRVAR(frozenset_doc,
 "frozenset(iterable) --> frozenset object\n\
 \n\
-Build an immutable unordered collection.");
+Build an immutable unordered collection of unique elements.");
 
 PyTypeObject PyFrozenSet_Type = {
        PyObject_HEAD_INIT(&PyType_Type)