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
9892f454
Commit
9892f454
authored
May 18, 2019
by
Jelle Zijlstra
Committed by
Cheryl Sabella
May 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-33519: clarify that .copy() is not part of the MutableSequence ABC (GH-6965)
parent
da6129e8
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
+4
-2
Misc/NEWS.d/next/Documentation/2018-05-17-21-02-00.bpo-33519.Q7s2FB.rst
...xt/Documentation/2018-05-17-21-02-00.bpo-33519.Q7s2FB.rst
+1
-0
No files found.
Doc/library/stdtypes.rst
View file @
9892f454
...
...
@@ -1114,7 +1114,7 @@ Notes:
item is removed and returned.
(3)
``remove`
` raises :exc:`ValueError` when *x* is not found in *s*.
:meth:`remove
` raises :exc:`ValueError` when *x* is not found in *s*.
(4)
The :meth:`reverse` method modifies the sequence in place for economy of
...
...
@@ -1124,7 +1124,9 @@ Notes:
(5)
:meth:`clear` and :meth:`!copy` are included for consistency with the
interfaces of mutable containers that don't support slicing operations
(such as :class:`dict` and :class:`set`)
(such as :class:`dict` and :class:`set`). :meth:`!copy` is not part of the
:class:`collections.abc.MutableSequence` ABC, but most concrete
mutable sequence classes provide it.
.. versionadded:: 3.3
:meth:`clear` and :meth:`!copy` methods.
...
...
Misc/NEWS.d/next/Documentation/2018-05-17-21-02-00.bpo-33519.Q7s2FB.rst
0 → 100644
View file @
9892f454
Clarify that `copy()` is not part of the `MutableSequence` ABC.
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