summaryrefslogtreecommitdiff
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-11-19 00:01:54 +0000
committerRaymond Hettinger <python@rcn.com>2009-11-19 00:01:54 +0000
commitc566df3f55efeaea910033e6e515c78afa15ea6c (patch)
treee7e5cc68667823f86efedbd04fc6eb25d5c8ed3a /Objects/setobject.c
parent7dfcef577e5d713c49322254ab364fcda8fe370a (diff)
downloadcpython-git-c566df3f55efeaea910033e6e515c78afa15ea6c.tar.gz
Issue 7263: Fix set.intersection() docstring.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index b296f9f329..27b41a10e4 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -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)