Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7263] Fix set.intersection docstring

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 4, 2009, 8:24 AM

Post #1 of 2 (42 views)
Permalink
[issue7263] Fix set.intersection docstring

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>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 4, 2009, 8:33 AM

Post #2 of 2 (39 views)
Permalink
[issue7263] Fix set.intersection docstring [In reply to]

Changes by Raymond Hettinger <rhettinger[at]users.sourceforge.net>:


----------
assignee: georg.brandl -> rhettinger
nosy: +rhettinger

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue7263>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.