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

Skip to content

Commit 3cb68a2

Browse files
committed
Remove extra 'types'
Change a couple of list -> mylist
1 parent 6fe1299 commit 3cb68a2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/lib/libtypes.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ \section{\module{types} ---
55
\modulesynopsis{Names for built-in types.}
66

77

8-
This module defines names for types some object types that are used by
8+
This module defines names for some object types that are used by
99
the standard Python interpreter, but not for the types defined by various
1010
extension modules. Also, it does not include some of the types that
1111
arise during processing such the \code{listiterator} type.
@@ -35,9 +35,9 @@ \section{\module{types} ---
3535
\begin{verbatim}
3636
def delete(mylist, item):
3737
if isinstance(item, int):
38-
del list[item]
38+
del mylist[item]
3939
else:
40-
list.remove(item)
40+
mylist.remove(item)
4141
\end{verbatim}
4242

4343
The module defines the following names:

0 commit comments

Comments
 (0)