Skip to content

Commit 4a76da7

Browse files
committed
fix some markup errors
1 parent 71011e2 commit 4a76da7

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/lib/libbase64.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ \section{\module{base64} ---
8585
letter O (oh), and for optional mapping of the digit 1 (one) to either
8686
the 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
8989
mapped 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

Doc/lib/liblogging.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
15331533
is 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

Doc/lib/libstdtypes.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ \section{Mapping Types --- \class{dict} \label{typesmapping}}
14661466

14671467
\item[(5)] \function{setdefault()} is like \function{get()}, except
14681468
that 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
14721472
over 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

Doc/lib/libxmlrpclib.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ \subsection{MultiCall Objects}
287287

288288
Create an object used to boxcar method calls. \var{server} is the
289289
eventual 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
291291
call name and parameters in the \class{MultiCall} object. Calling
292292
the object itself causes all stored calls to be transmitted as
293293
a single \code{system.multicall} request. The result of this call

0 commit comments

Comments
 (0)