]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix some markup errors that prevented formatting, and one that didn't.
authorFred Drake <fdrake@acm.org>
Sat, 12 Aug 2000 20:08:04 +0000 (20:08 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 12 Aug 2000 20:08:04 +0000 (20:08 +0000)
Doc/tut/tut.tex

index f81193227c047b1f19301c4062e462b7589ae0b8..6133dd1c8a8f3b344c0768eb503e85596b9fea62 100644 (file)
@@ -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: