[Python-checkins] r50934 - python/trunk/Objects/setobject.c

andrew.kuchling python-checkins at python.org
Sat Jul 29 17:10:33 CEST 2006


Author: andrew.kuchling
Date: Sat Jul 29 17:10:32 2006
New Revision: 50934

Modified:
   python/trunk/Objects/setobject.c
Log:
[Bug #1414697] Change docstring of set/frozenset types to specify that the contents are unique.  Raymond, please feel free to edit or revert.

Modified: python/trunk/Objects/setobject.c
==============================================================================
--- python/trunk/Objects/setobject.c	(original)
+++ python/trunk/Objects/setobject.c	Sat Jul 29 17:10:32 2006
@@ -1797,7 +1797,7 @@
 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 @@
 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)


More information about the Python-checkins mailing list