From: Raymond Hettinger Date: Wed, 9 Feb 2005 23:23:10 +0000 (+0000) Subject: SF bug #1119700: list extend() accepts args besides lists X-Git-Tag: v2.4.1c1~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c44cb37d65cf9eeeaed1794373f0cd8823065da;p=thirdparty%2FPython%2Fcpython.git SF bug #1119700: list extend() accepts args besides lists --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 6355731d7b92..c46451778cba 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -1075,7 +1075,7 @@ Notes: no longer works in Python 2.0. Use of this misfeature has been deprecated since Python 1.4. -\item[(3)] Raises an exception when \var{x} is not a list object. +\item[(3)] \var{x} can be any iterable object. \item[(4)] Raises \exception{ValueError} when \var{x} is not found in \var{s}. When a negative index is passed as the second or third parameter