mirror of https://github.com/python/cpython
"boolean" --> "Boolean" (per the style guide).
This commit is contained in:
parent
0f0380a25f
commit
6c81e2a44f
|
@ -163,7 +163,7 @@ A convenience method which coerces the \var{option} in the specified
|
||||||
|
|
||||||
\begin{methoddesc}{getboolean}{section, option}
|
\begin{methoddesc}{getboolean}{section, option}
|
||||||
A convenience method which coerces the \var{option} in the specified
|
A convenience method which coerces the \var{option} in the specified
|
||||||
\var{section} to a boolean value. Note that the only accepted values
|
\var{section} to a Boolean value. Note that the only accepted values
|
||||||
for the option are \samp{0} and \samp{1}, any others will raise
|
for the option are \samp{0} and \samp{1}, any others will raise
|
||||||
\exception{ValueError}.
|
\exception{ValueError}.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
|
@ -102,7 +102,7 @@ Sequence of byte codes that access a local variable.
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\begin{datadesc}{hascompare}
|
\begin{datadesc}{hascompare}
|
||||||
Sequence of byte codes of boolean operations.
|
Sequence of byte codes of Boolean operations.
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\subsection{Python Byte Code Instructions}
|
\subsection{Python Byte Code Instructions}
|
||||||
|
@ -474,7 +474,7 @@ Replaces TOS with \code{getattr(TOS, co_names[\var{namei}]}.
|
||||||
\end{opcodedesc}
|
\end{opcodedesc}
|
||||||
|
|
||||||
\begin{opcodedesc}{COMPARE_OP}{opname}
|
\begin{opcodedesc}{COMPARE_OP}{opname}
|
||||||
Performs a boolean operation. The operation name can be found
|
Performs a Boolean operation. The operation name can be found
|
||||||
in \code{cmp_op[\var{opname}]}.
|
in \code{cmp_op[\var{opname}]}.
|
||||||
\end{opcodedesc}
|
\end{opcodedesc}
|
||||||
|
|
||||||
|
|
|
@ -234,7 +234,7 @@ of the form \code{(}\var{size}, \var{italic}, \var{bold},
|
||||||
\var{teletype}\code{)}. Size will be a string indicating the size of
|
\var{teletype}\code{)}. Size will be a string indicating the size of
|
||||||
font that should be used; specific strings and their interpretation
|
font that should be used; specific strings and their interpretation
|
||||||
must be defined by the application. The \var{italic}, \var{bold}, and
|
must be defined by the application. The \var{italic}, \var{bold}, and
|
||||||
\var{teletype} values are boolean indicators specifying which of those
|
\var{teletype} values are Boolean values specifying which of those
|
||||||
font attributes should be used.
|
font attributes should be used.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
|
|
|
@ -473,7 +473,7 @@ docstrings. Since the example demonstrates information extraction, we
|
||||||
can safely require that the tree be in tuple form rather than list
|
can safely require that the tree be in tuple form rather than list
|
||||||
form, allowing a simple variable representation to be
|
form, allowing a simple variable representation to be
|
||||||
\code{['variable_name']}. A simple recursive function can implement
|
\code{['variable_name']}. A simple recursive function can implement
|
||||||
the pattern matching, returning a boolean and a dictionary of variable
|
the pattern matching, returning a Boolean and a dictionary of variable
|
||||||
name to value mappings. (See file \file{example.py}.)
|
name to value mappings. (See file \file{example.py}.)
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
|
|
Loading…
Reference in New Issue