Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c92b69

Browse files
committed
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.
1 parent 1b738e9 commit 9c92b69

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/lib/libstdtypes.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,8 @@ \subsubsection{String Methods \label{string-methods}}
547547
\end{methoddesc}
548548

549549
\begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}}
550-
Return true if the string ends with the specified \var{suffix},
551-
otherwise return false. With optional \var{start}, test beginning at
550+
Return \code{True} if the string ends with the specified \var{suffix},
551+
otherwise return \code{False}. With optional \var{start}, test beginning at
552552
that position. With optional \var{end}, stop comparing at that position.
553553
\end{methoddesc}
554554

@@ -678,8 +678,8 @@ \subsubsection{String Methods \label{string-methods}}
678678

679679
\begin{methoddesc}[string]{startswith}{prefix\optional{,
680680
start\optional{, end}}}
681-
Return true if string starts with the \var{prefix}, otherwise
682-
return false. With optional \var{start}, test string beginning at
681+
Return \code{True} if string starts with the \var{prefix}, otherwise
682+
return \code{False}. With optional \var{start}, test string beginning at
683683
that position. With optional \var{end}, stop comparing string at that
684684
position.
685685
\end{methoddesc}

0 commit comments

Comments
 (0)