mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
SF Bug 645777: list.extend() works with any iterable and is no longer
experimental.
This commit is contained in:
parent
4643bd9a9c
commit
f8bcfb13f1
2 changed files with 2 additions and 4 deletions
|
@ -946,9 +946,7 @@ Notes:
|
|||
Use of this misfeature has been deprecated since Python 1.4,
|
||||
and became an error with the introduction of Python 2.0.
|
||||
|
||||
\item[(2)] Raises an exception when \var{x} is not a list object. The
|
||||
\method{extend()} method is experimental and not supported by
|
||||
mutable sequence types other than lists.
|
||||
\item[(2)] Raises an exception when \var{x} is not an iterable object.
|
||||
|
||||
\item[(3)] Raises \exception{ValueError} when \var{x} is not found in
|
||||
\var{s}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue