From 4e9907c91478d25161294e9d2cad790eed987928 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 9 Feb 2005 23:19:25 +0000 Subject: SF bug #1119700: list extend() accepts args besides lists --- Doc/lib/libstdtypes.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 6355731..c464517 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 -- cgit v0.12