New submission from Alexander Belopolsky <belopol...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7263>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to