summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-11-18 20:28:22 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-11-18 20:28:22 (GMT)
commit79628d311f3a3fcace6b08387d3d402262790bee (patch)
tree9a72884ca0a91801d4229cbe9d7bb306891626fb /Objects
parent355538e5f5f2e2e71beecf891e450797b8a02586 (diff)
downloadcpython-79628d311f3a3fcace6b08387d3d402262790bee.zip
cpython-79628d311f3a3fcace6b08387d3d402262790bee.tar.gz
cpython-79628d311f3a3fcace6b08387d3d402262790bee.tar.bz2
Issue 7263: Fix set.intersection() docstring.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/setobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index dd45380..81fd315 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -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)