summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-11-18 20:13:27 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-11-18 20:13:27 (GMT)
commit01cf960d09f2b66bab0d4ae829b8a3c3babf628a (patch)
treec5601231d7476a61fd8ff7a3a630b39ec8b9ed5f /Objects
parentfebc12805a8427ec2e683da0cde9bcd2595268ee (diff)
downloadcpython-01cf960d09f2b66bab0d4ae829b8a3c3babf628a.zip
cpython-01cf960d09f2b66bab0d4ae829b8a3c3babf628a.tar.gz
cpython-01cf960d09f2b66bab0d4ae829b8a3c3babf628a.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)