Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,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
Expand All @@ -1108,7 +1108,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.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that `copy()` is not part of the `MutableSequence` ABC.