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

raymond.hettinger python-checkins at python.org
Wed Nov 18 21:28:23 CET 2009


Author: raymond.hettinger
Date: Wed Nov 18 21:28:22 2009
New Revision: 76382

Log:
Issue 7263: Fix set.intersection() docstring.

Modified:
   python/trunk/Objects/setobject.c

Modified: python/trunk/Objects/setobject.c
==============================================================================
--- python/trunk/Objects/setobject.c	(original)
+++ python/trunk/Objects/setobject.c	Wed Nov 18 21:28:22 2009
@@ -1339,9 +1339,9 @@
 }
 
 PyDoc_STRVAR(intersection_doc,
-"Return the intersection of two sets as a new set.\n\
+"Return the intersection of two or more sets as a new set.\n\
 \n\
-(i.e. all elements that are in both sets.)");
+(i.e. elements that are common to all of the sets.)");
 
 static PyObject *
 set_intersection_update(PySetObject *so, PyObject *other)


More information about the Python-checkins mailing list