diff options
author | Raymond Hettinger <python@rcn.com> | 2004-10-08 01:52:15 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-10-08 01:52:15 (GMT) |
commit | 77d110d6b8b714c87e9850239166d14d62fc243b (patch) | |
tree | 3cea9a139aa8aaf7af63e76463a23b81d34d203f /Doc | |
parent | 7db385eef50161f7c77cbe58d3700f405a740f7b (diff) | |
download | cpython-77d110d6b8b714c87e9850239166d14d62fc243b.zip cpython-77d110d6b8b714c87e9850239166d14d62fc243b.tar.gz cpython-77d110d6b8b714c87e9850239166d14d62fc243b.tar.bz2 |
SF patch #1041364: True/False instead of 1/0 in libstdtypes.tex
(Contributed by Gerrit Holl. Reviewed by Jeff Epler.)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libstdtypes.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 83d3c03..f8eba38 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -451,9 +451,9 @@ This table lists the sequence operations sorted in ascending priority and \var{j} are integers: \begin{tableiii}{c|l|c}{code}{Operation}{Result}{Notes} - \lineiii{\var{x} in \var{s}}{\code{1} if an item of \var{s} is equal to \var{x}, else \code{0}}{(1)} - \lineiii{\var{x} not in \var{s}}{\code{0} if an item of \var{s} is -equal to \var{x}, else \code{1}}{(1)} + \lineiii{\var{x} in \var{s}}{\code{True} if an item of \var{s} is equal to \var{x}, else \code{False}}{(1)} + \lineiii{\var{x} not in \var{s}}{\code{False} if an item of \var{s} is +equal to \var{x}, else \code{True}}{(1)} \hline \lineiii{\var{s} + \var{t}}{the concatenation of \var{s} and \var{t}}{(6)} \lineiii{\var{s} * \var{n}\textrm{,} \var{n} * \var{s}}{\var{n} shallow copies of \var{s} concatenated}{(2)} |