summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-11-17 21:59:04 (GMT)
committerFred Drake <fdrake@acm.org>1998-11-17 21:59:04 (GMT)
commitdb70d0646426f5b5dcb2586f42453e142f1be3dd (patch)
tree56de2599bfb6b1f0ee583dcb4f13c1850e5380f7
parent014e0e29b10d12c53c9094c1070ba26ee07cf23f (diff)
downloadcpython-db70d0646426f5b5dcb2586f42453e142f1be3dd.zip
cpython-db70d0646426f5b5dcb2586f42453e142f1be3dd.tar.gz
cpython-db70d0646426f5b5dcb2586f42453e142f1be3dd.tar.bz2
Eliminate remaining \verb/.../ constructs; there's no need for them.
-rw-r--r--Doc/tut/tut.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index f975436..2d758ae 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -2367,16 +2367,16 @@ Sjoerd ==> 4127
Most formats work exactly as in \C{} and require that you pass the proper
type; however, if you don't you get an exception, not a core dump.
-The \verb\%s\ format is more relaxed: if the corresponding argument is
+The \code{\%s} format is more relaxed: if the corresponding argument is
not a string object, it is converted to string using the
\function{str()} built-in function. Using \code{*} to pass the width
or precision in as a separate (integer) argument is supported. The
-\C{} formats \verb\%n\ and \verb\%p\ are not supported.
+\C{} formats \code{\%n} and \code{\%p} are not supported.
If you have a really long format string that you don't want to split
up, it would be nice if you could reference the variables to be
formatted by name instead of by position. This can be done by using
-an extension of \C{} formats using the form \verb\%(name)format\, e.g.
+an extension of \C{} formats using the form \code{\%(name)format}, e.g.
\begin{verbatim}
>>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}