New submission from Nathan Marrow:

The library documentation for set intersection gives this definition:
intersection(other, ...)

For any set, s, however, intersection may be called with no arguments, which 
returns the same set. The documentation, as written, implies such usage would 
raise a TypeError. I believe it should be intersection(*others). Same for 
difference, union, intersection_update, difference_update, and update.

----------
assignee: docs@python
components: Documentation
messages: 276070
nosy: docs@python, nmarrow
priority: normal
severity: normal
status: open
title: Set documentation is incorrect
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to