]> granicus.if.org Git - python/commitdiff
fix some markup errors
authorFred Drake <fdrake@acm.org>
Thu, 26 Apr 2007 04:43:39 +0000 (04:43 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 26 Apr 2007 04:43:39 +0000 (04:43 +0000)
Doc/lib/libbase64.tex
Doc/lib/liblogging.tex
Doc/lib/libstdtypes.tex
Doc/lib/libxmlrpclib.tex

index d7eccbdb19c0a0c2e1e49394aef58e325820b789..23b74f08befe0cc0a21ed776ecbf54ff12674205 100644 (file)
@@ -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.
 
index 4bb05950c83e724cdef62903b9f463cc0645b0e6..f9c1d7258dcf9a1f64d504707b30311e4b452468 100644 (file)
@@ -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}
 
index d7b8858c64466cd03755d8ea7ef2865c20f434b6..66cc476d44be46657c245f7f897aec44a1aa4e5b 100644 (file)
@@ -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
index 7af9e760b974e84f1f2eb6c20b431d91f106e339..1aa2dd55e9b59718b727df89d0e99645ebbeda4f 100644 (file)
@@ -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