summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2007-04-26 04:43:39 (GMT)
committerFred Drake <fdrake@acm.org>2007-04-26 04:43:39 (GMT)
commit4a76da79cd77bd04dacc1a2bfb22f149dcaad33d (patch)
tree875a99fa612e43a2d6718b086a6f396af3c5afd9
parent71011e2c2b6511e14099d0a02d8c137bb22784ad (diff)
downloadcpython-4a76da79cd77bd04dacc1a2bfb22f149dcaad33d.zip
cpython-4a76da79cd77bd04dacc1a2bfb22f149dcaad33d.tar.gz
cpython-4a76da79cd77bd04dacc1a2bfb22f149dcaad33d.tar.bz2
fix some markup errors
-rw-r--r--Doc/lib/libbase64.tex2
-rw-r--r--Doc/lib/liblogging.tex2
-rw-r--r--Doc/lib/libstdtypes.tex4
-rw-r--r--Doc/lib/libxmlrpclib.tex2
4 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libbase64.tex b/Doc/lib/libbase64.tex
index d7eccbd..23b74f0 100644
--- a/Doc/lib/libbase64.tex
+++ b/Doc/lib/libbase64.tex
@@ -85,7 +85,7 @@ security purposes, the default is \code{False}.
letter O (oh), and for optional mapping of the digit 1 (one) to either
the letter I (eye) or letter L (el). The optional argument
\var{map01} when not \code{None}, specifies which letter the digit 1 should
-be mapped to (when map01 is not \var{None}, the digit 0 is always
+be mapped to (when \var{map01} is not \code{None}, the digit 0 is always
mapped to the letter O). For security purposes the default is
\code{None}, so that 0 and 1 are not allowed in the input.
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex
index 4bb0595..f9c1d72 100644
--- a/Doc/lib/liblogging.tex
+++ b/Doc/lib/liblogging.tex
@@ -1531,7 +1531,7 @@ which, together with \var{msg}, makes up the user message; and
\var{exc_info} is the exception tuple obtained by calling
\function{sys.exc_info() }(or \constant{None}, if no exception information
is available). The \var{func} is the name of the function from which the
-logging call was made. If not specified, it defaults to \var{None}.
+logging call was made. If not specified, it defaults to \code{None}.
\versionchanged[\var{func} was added]{2.5}
\end{classdesc}
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index d7b8858..66cc476 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -1466,7 +1466,7 @@ provided and \var{k} is not in the map, \code{None} is returned.
\item[(5)] \function{setdefault()} is like \function{get()}, except
that if \var{k} is missing, \var{x} is both returned and inserted into
-the dictionary as the value of \var{k}. \var{x} defaults to \var{None}.
+the dictionary as the value of \var{k}. \var{x} defaults to \code{None}.
\item[(6)] \function{popitem()} is useful to destructively iterate
over a dictionary, as often used in set algorithms. If the dictionary
@@ -1818,7 +1818,7 @@ define a runtime context:
expection that occurred should be suppressed. If an exception
occurred while executing the body of the \keyword{with} statement, the
arguments contain the exception type, value and traceback information.
- Otherwise, all three arguments are \var{None}.
+ Otherwise, all three arguments are \code{None}.
Returning a true value from this method will cause the \keyword{with}
statement to suppress the exception and continue execution with the
diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex
index 7af9e76..1aa2dd5 100644
--- a/Doc/lib/libxmlrpclib.tex
+++ b/Doc/lib/libxmlrpclib.tex
@@ -287,7 +287,7 @@ single request.
Create an object used to boxcar method calls. \var{server} is the
eventual target of the call. Calls can be made to the result object,
-but they will immediately return \var{None}, and only store the
+but they will immediately return \code{None}, and only store the
call name and parameters in the \class{MultiCall} object. Calling
the object itself causes all stored calls to be transmitted as
a single \code{system.multicall} request. The result of this call