Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6c81b54c
Commit
6c81b54c
authored
Jan 18, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#4976: union() and intersection() take multiple args, but talk about "the other".
parent
6ab22154
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+2
-2
Doc/tools/rstlint.py
Doc/tools/rstlint.py
+3
-0
No files found.
Doc/library/stdtypes.rst
View file @
6c81b54c
...
...
@@ -1679,7 +1679,7 @@ The constructors for both classes work the same:
.. method:: union(other, ...)
set | other | ...
Return a new set with elements from
both set
s.
Return a new set with elements from
the set and all other
s.
.. versionchanged:: 2.6
Accepts multiple input iterables.
...
...
@@ -1687,7 +1687,7 @@ The constructors for both classes work the same:
.. method:: intersection(other, ...)
set & other & ...
Return a new set with elements common to
both set
s.
Return a new set with elements common to
the set and all other
s.
.. versionchanged:: 2.6
Accepts multiple input iterables.
...
...
Doc/tools/rstlint.py
View file @
6c81b54c
...
...
@@ -6,6 +6,9 @@
#
# 01/2009, Georg Brandl
# TODO: - wrong versions in versionadded/changed
# - wrong markup after versionchanged directive
from
__future__
import
with_statement
import
os
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment