[docs] [issue28104] Set documentation is incorrect
Nathan Marrow
report at bugs.python.org
Mon Sep 12 13:07:31 EDT 2016
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 at python
components: Documentation
messages: 276070
nosy: docs at python, nmarrow
priority: normal
severity: normal
status: open
title: Set documentation is incorrect
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28104>
_______________________________________
More information about the docs
mailing list