Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e9907c

Browse files
committed
SF bug #1119700: list extend() accepts args besides lists
1 parent 5e54796 commit 4e9907c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libstdtypes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ \subsubsection{Mutable Sequence Types \label{typesseq-mutable}}
10751075
no longer works in Python 2.0. Use of this misfeature has been
10761076
deprecated since Python 1.4.
10771077

1078-
\item[(3)] Raises an exception when \var{x} is not a list object.
1078+
\item[(3)] \var{x} can be any iterable object.
10791079

10801080
\item[(4)] Raises \exception{ValueError} when \var{x} is not found in
10811081
\var{s}. When a negative index is passed as the second or third parameter

0 commit comments

Comments
 (0)