Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libtypes.tex @ 27198:b8724341bb1a legacy-trunk
Remove extra 'types'
Change a couple of list -> mylist
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Fri, 10 Jan 2003 13:52:30 +0000 |
| parents | a51e5ae29882 |
| children | 2a5e6009a445 |
line wrap: on
line diff
--- a/Doc/lib/libtypes.tex Fri Jan 10 09:33:08 2003 +0000 +++ b/Doc/lib/libtypes.tex Fri Jan 10 13:52:30 2003 +0000 @@ -5,7 +5,7 @@ \modulesynopsis{Names for built-in types.} -This module defines names for types some object types that are used by +This module defines names for some object types that are used by the standard Python interpreter, but not for the types defined by various extension modules. Also, it does not include some of the types that arise during processing such the \code{listiterator} type. @@ -35,9 +35,9 @@ \begin{verbatim} def delete(mylist, item): if isinstance(item, int): - del list[item] + del mylist[item] else: - list.remove(item) + mylist.remove(item) \end{verbatim} The module defines the following names:
