diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-12 20:08:04 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-12 20:08:04 (GMT) |
commit | 81f7eb6c6b50fb2d631c31a69fbbd4a68b9d2a50 (patch) | |
tree | d5c17fe5d5a21bfa0ff72c1e71186e2263ae47af /Doc/tut/tut.tex | |
parent | 8a74e5fc2cce1df7e3747b704abf28edb788a8d7 (diff) | |
download | cpython-81f7eb6c6b50fb2d631c31a69fbbd4a68b9d2a50.zip cpython-81f7eb6c6b50fb2d631c31a69fbbd4a68b9d2a50.tar.gz cpython-81f7eb6c6b50fb2d631c31a69fbbd4a68b9d2a50.tar.bz2 |
Fix some markup errors that prevented formatting, and one that didn't.
Diffstat (limited to 'Doc/tut/tut.tex')
-rw-r--r-- | Doc/tut/tut.tex | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index f811932..6133dd1 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -1755,9 +1755,10 @@ item, then to the result and the next item, and so on. For example, \subsection{List Comprehensions} -List comprehensions provide a concise way to create lists without resorting -to use of the \func{map()} or \func{filter()} functions. The resulting -construct tends often to be clearer than use of those functions. +List comprehensions provide a concise way to create lists without +resorting to use of the \function{map()} or \function{filter()} +functions. The resulting construct tends often to be clearer than use +of those functions. \begin{verbatim} >>> spcs = [" Apple", " Banana ", "Coco nut "] @@ -1777,7 +1778,7 @@ construct tends often to be clearer than use of those functions. \section{The \keyword{del} statement \label{del}} There is a way to remove an item from a list given its index instead -of its value: the \code{del} statement. This can also be used to +of its value: the \keyword{del} statement. This can also be used to remove slices from a list (which we did earlier by assignment of an empty list to the slice). For example: |