Kaydet (Commit) 52740be4 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #1414697] Change docstring of set/frozenset types to specify that the…

[Bug #1414697] Change docstring of set/frozenset types to specify that the contents are unique.  Raymond, please feel free to edit or revert.
üst e2222a08
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment