Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 34573:19327db75d1c 2.4
SF bug #1119700: list extend() accepts args besides lists
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Wed, 09 Feb 2005 23:23:10 +0000 |
| parents | 13176ed52e65 |
| children | fbcb1da480dd |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Tue Feb 08 15:01:35 2005 +0000 +++ b/Doc/lib/libstdtypes.tex Wed Feb 09 23:23:10 2005 +0000 @@ -1075,7 +1075,7 @@ 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
