[New-bugs-announce] [issue7263] Fix set.intersection docstring
Alexander Belopolsky
report at bugs.python.org
Wed Nov 4 17:24:39 CET 2009
New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:
"""
intersection(...)
Return the intersection of two sets as a new set.
(i.e. all elements that are in both sets.)
"""
Is incorrect because set.intersection takes two or more sets.
Attached patch changes that to
"""
intersection(...)
Return the intersection of two or more sets as a new set.
(i.e. all elements that are in all sets.)
"""
----------
assignee: georg.brandl
components: Documentation
files: set-intersection-doc.diff
keywords: patch
messages: 94892
nosy: belopolsky, georg.brandl
severity: normal
status: open
title: Fix set.intersection docstring
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file15257/set-intersection-doc.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7263>
_______________________________________
More information about the New-bugs-announce
mailing list