summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-07-29 15:10:32 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-07-29 15:10:32 (GMT)
commit52740be425be23892a8a9d0bf25fa4a182887720 (patch)
treeb817514a90468d686c9099808707ae96aeb12fda
parente2222a083b434b582d7b7f8d1e7155b55b769323 (diff)
downloadcpython-52740be425be23892a8a9d0bf25fa4a182887720.zip
cpython-52740be425be23892a8a9d0bf25fa4a182887720.tar.gz
cpython-52740be425be23892a8a9d0bf25fa4a182887720.tar.bz2
[Bug #1414697] Change docstring of set/frozenset types to specify that the contents are unique. Raymond, please feel free to edit or revert.
-rw-r--r--Objects/setobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 3ddb675..8ba0ce4 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -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)