Use \code{True} (or False) instead of true/false.

Not sure if code is correct, but that is what's in this file.
I've seen \constant{True} in other places.
This commit is contained in:
Neal Norwitz 2002-06-14 00:27:13 +00:00
parent 1b738e916f
commit 9c92b69a54
1 changed files with 4 additions and 4 deletions

View File

@ -547,8 +547,8 @@ error handling scheme. The default for \var{errors} is
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}} \begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}}
Return true if the string ends with the specified \var{suffix}, Return \code{True} if the string ends with the specified \var{suffix},
otherwise return false. With optional \var{start}, test beginning at otherwise return \code{False}. With optional \var{start}, test beginning at
that position. With optional \var{end}, stop comparing at that position. that position. With optional \var{end}, stop comparing at that position.
\end{methoddesc} \end{methoddesc}
@ -678,8 +678,8 @@ boundaries. Line breaks are not included in the resulting list unless
\begin{methoddesc}[string]{startswith}{prefix\optional{, \begin{methoddesc}[string]{startswith}{prefix\optional{,
start\optional{, end}}} start\optional{, end}}}
Return true if string starts with the \var{prefix}, otherwise Return \code{True} if string starts with the \var{prefix}, otherwise
return false. With optional \var{start}, test string beginning at return \code{False}. With optional \var{start}, test string beginning at
that position. With optional \var{end}, stop comparing string at that that position. With optional \var{end}, stop comparing string at that
position. position.
\end{methoddesc} \end{methoddesc}