classification
Title: Fix set.intersection docstring
Type: Stage:
Components: Documentation Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: belopolsky, georg.brandl, rhettinger
Priority: normal Keywords: patch

Created on 2009-11-04 16:24 by belopolsky, last changed 2009-11-19 01:07 by rhettinger. This issue is now closed.

Files
File name Uploaded Description Edit
set-intersection-doc.diff belopolsky, 2009-11-04 16:24 Diff to py3k revision 76107
Messages (1)
msg94892 - (view) Author: Alexander Belopolsky (belopolsky) (Python committer) Date: 2009-11-04 16:24
"""
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.)
"""
History
Date User Action Args
2009-11-19 01:07:50rhettingersetstatus: open -> closed
resolution: fixed
2009-11-04 16:33:04rhettingersetassignee: georg.brandl -> rhettinger

nosy: + rhettinger
2009-11-04 16:24:33belopolskycreate