File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ \section{\module{base64} ---
8585letter O (oh), and for optional mapping of the digit 1 (one) to either
8686the letter I (eye) or letter L (el). The optional argument
8787\var {map01} when not \code {None}, specifies which letter the digit 1 should
88- be mapped to (when map01 is not \var {None}, the digit 0 is always
88+ be mapped to (when \var { map01} is not \code {None}, the digit 0 is always
8989mapped to the letter O). For security purposes the default is
9090\code {None}, so that 0 and 1 are not allowed in the input.
9191
Original file line number Diff line number Diff line change @@ -1531,7 +1531,7 @@ \subsection{LogRecord Objects}
15311531\var {exc_info} is the exception tuple obtained by calling
15321532\function {sys.exc_info() }(or \constant {None}, if no exception information
15331533is available). The \var {func} is the name of the function from which the
1534- logging call was made. If not specified, it defaults to \var {None}.
1534+ logging call was made. If not specified, it defaults to \code {None}.
15351535\versionchanged [\var {func} was added]{2.5}
15361536\end {classdesc }
15371537
Original file line number Diff line number Diff line change @@ -1466,7 +1466,7 @@ \section{Mapping Types --- \class{dict} \label{typesmapping}}
14661466
14671467\item [(5)] \function {setdefault()} is like \function {get()}, except
14681468that if \var {k} is missing, \var {x} is both returned and inserted into
1469- the dictionary as the value of \var {k}. \var {x} defaults to \var {None}.
1469+ the dictionary as the value of \var {k}. \var {x} defaults to \code {None}.
14701470
14711471\item [(6)] \function {popitem()} is useful to destructively iterate
14721472over a dictionary, as often used in set algorithms. If the dictionary
@@ -1818,7 +1818,7 @@ \section{Context Manager Types \label{typecontextmanager}}
18181818 expection that occurred should be suppressed. If an exception
18191819 occurred while executing the body of the \keyword {with} statement, the
18201820 arguments contain the exception type, value and traceback information.
1821- Otherwise, all three arguments are \var {None}.
1821+ Otherwise, all three arguments are \code {None}.
18221822
18231823 Returning a true value from this method will cause the \keyword {with}
18241824 statement to suppress the exception and continue execution with the
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ \subsection{MultiCall Objects}
287287
288288Create an object used to boxcar method calls. \var {server} is the
289289eventual target of the call. Calls can be made to the result object,
290- but they will immediately return \var {None}, and only store the
290+ but they will immediately return \code {None}, and only store the
291291call name and parameters in the \class {MultiCall} object. Calling
292292the object itself causes all stored calls to be transmitted as
293293a single \code {system.multicall} request. The result of this call
You can’t perform that action at this time.
0 commit comments