]> granicus.if.org Git - python/commitdiff
Issue 7263: Fix set.intersection() docstring.
authorRaymond Hettinger <python@rcn.com>
Wed, 18 Nov 2009 20:28:22 +0000 (20:28 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 18 Nov 2009 20:28:22 +0000 (20:28 +0000)
Objects/setobject.c

index dd45380a35feb48017a8281d3e51c535d48c12ca..81fd31580e4ade5b3527785a6e93be75b436d51b 100644 (file)
@@ -1339,9 +1339,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)