]> granicus.if.org Git - python/commitdiff
Issue 7263: Fix set.intersection() docstring.
authorRaymond Hettinger <python@rcn.com>
Thu, 19 Nov 2009 00:01:54 +0000 (00:01 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 19 Nov 2009 00:01:54 +0000 (00:01 +0000)
Objects/setobject.c

index b296f9f329705cfc843460a46148742d93f4fdf6..27b41a10e4697e7f171936b81982d36977766887 100644 (file)
@@ -1343,9 +1343,9 @@ set_intersection_multi(PySetObject *so, PyObject *args)
 }
 
 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)