mirror of https://github.com/python/cpython
Issue 7263: Fix set.intersection() docstring.
This commit is contained in:
parent
355538e5f5
commit
79628d311f
|
@ -1339,9 +1339,9 @@ set_intersection_multi(PySetObject *so, PyObject *args)
|
||||||
}
|
}
|
||||||
|
|
||||||
PyDoc_STRVAR(intersection_doc,
|
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\
|
\n\
|
||||||
(i.e. all elements that are in both sets.)");
|
(i.e. elements that are common to all of the sets.)");
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
set_intersection_update(PySetObject *so, PyObject *other)
|
set_intersection_update(PySetObject *so, PyObject *other)
|
||||||
|
|
Loading…
Reference in New Issue