summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-08-08 11:07:59 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-08-08 11:07:59 (GMT)
commit6e13bcc7b187aff61628120fa58e5cee2ae32f68 (patch)
tree2d3cbca32fd077a308d6ed15f5aa61d3426363bc /Doc
parentb5a420883c2ed3a4fc74b212ab0454991fe90bcc (diff)
downloadcpython-6e13bcc7b187aff61628120fa58e5cee2ae32f68.zip
cpython-6e13bcc7b187aff61628120fa58e5cee2ae32f68.tar.gz
cpython-6e13bcc7b187aff61628120fa58e5cee2ae32f68.tar.bz2
SF bug #775836: change 0,1 to False,True in dict.has_key doc
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstdtypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 2f01ca6..6b6ccbe0 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -1125,7 +1125,7 @@ arbitrary objects):
\lineiii{\var{a}.clear()}{remove all items from \code{a}}{}
\lineiii{\var{a}.copy()}{a (shallow) copy of \code{a}}{}
\lineiii{\var{a}.has_key(\var{k})}
- {\code{1} if \var{a} has a key \var{k}, else \code{0}}
+ {\code{True} if \var{a} has a key \var{k}, else \code{False}}
{}
\lineiii{\var{k} \code{in} \var{a}}
{Equivalent to \var{a}.has_key(\var{k})}