diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-06-14 00:27:13 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-06-14 00:27:13 (GMT) |
commit | 9c92b69a54bd2047a7c6225fbd2b9fc6a25968ff (patch) | |
tree | eef35977dc2a0feab9b7bea84f7bf6aa8044764c | |
parent | 1b738e916f649079cfd85b61ee84b4cbf7841063 (diff) | |
download | cpython-9c92b69a54bd2047a7c6225fbd2b9fc6a25968ff.zip cpython-9c92b69a54bd2047a7c6225fbd2b9fc6a25968ff.tar.gz cpython-9c92b69a54bd2047a7c6225fbd2b9fc6a25968ff.tar.bz2 |
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.
-rw-r--r-- | Doc/lib/libstdtypes.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index f7db943..761acd3 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -547,8 +547,8 @@ error handling scheme. The default for \var{errors} is \end{methoddesc} \begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}} -Return true if the string ends with the specified \var{suffix}, -otherwise return false. With optional \var{start}, test beginning at +Return \code{True} if the string ends with the specified \var{suffix}, +otherwise return \code{False}. With optional \var{start}, test beginning at that position. With optional \var{end}, stop comparing at that position. \end{methoddesc} @@ -678,8 +678,8 @@ boundaries. Line breaks are not included in the resulting list unless \begin{methoddesc}[string]{startswith}{prefix\optional{, start\optional{, end}}} -Return true if string starts with the \var{prefix}, otherwise -return false. With optional \var{start}, test string beginning at +Return \code{True} if string starts with the \var{prefix}, otherwise +return \code{False}. With optional \var{start}, test string beginning at that position. With optional \var{end}, stop comparing string at that position. \end{methoddesc} |