diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex index 6afbe35cf01..f2137326f15 100644 --- a/Doc/lib/libcfgparser.tex +++ b/Doc/lib/libcfgparser.tex @@ -163,7 +163,7 @@ A convenience method which coerces the \var{option} in the specified \begin{methoddesc}{getboolean}{section, option} 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 \exception{ValueError}. \end{methoddesc} diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index b41b7190787..2a285d2094c 100644 --- a/Doc/lib/libdis.tex +++ b/Doc/lib/libdis.tex @@ -102,7 +102,7 @@ Sequence of byte codes that access a local variable. \end{datadesc} \begin{datadesc}{hascompare} -Sequence of byte codes of boolean operations. +Sequence of byte codes of Boolean operations. \end{datadesc} \subsection{Python Byte Code Instructions} @@ -474,7 +474,7 @@ Replaces TOS with \code{getattr(TOS, co_names[\var{namei}]}. \end{opcodedesc} \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}]}. \end{opcodedesc} diff --git a/Doc/lib/libformatter.tex b/Doc/lib/libformatter.tex index 197dc3cde7d..d7c5a6b83bf 100644 --- a/Doc/lib/libformatter.tex +++ b/Doc/lib/libformatter.tex @@ -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 font that should be used; specific strings and their interpretation 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. \end{methoddesc} diff --git a/Doc/lib/libparser.tex b/Doc/lib/libparser.tex index 9ff3f42914b..15b46ae57dd 100644 --- a/Doc/lib/libparser.tex +++ b/Doc/lib/libparser.tex @@ -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 form, allowing a simple variable representation to be \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}.) \begin{verbatim}