summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-10-31 20:41:44 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-10-31 20:41:44 (GMT)
commit8928a7e911357e57b92aa1738940fec241ded28e (patch)
tree630fee8e26b30f1a217d15188f51743665b97da6
parentdcee09d9204957ace381b1c3507259f718aa4907 (diff)
downloadcpython-8928a7e911357e57b92aa1738940fec241ded28e.zip
cpython-8928a7e911357e57b92aa1738940fec241ded28e.tar.gz
cpython-8928a7e911357e57b92aa1738940fec241ded28e.tar.bz2
rephrase has_key doc
-rw-r--r--Doc/ACKS.txt1
-rw-r--r--Doc/library/stdtypes.rst3
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt
index 7680d00..0bff6bd 100644
--- a/Doc/ACKS.txt
+++ b/Doc/ACKS.txt
@@ -16,6 +16,7 @@ docs@python.org), and we'll be glad to correct the problem.
* A. Amoroso
* Pehr Anderson
* Oliver Andrich
+ * Heidi Annexstad
* Jesús Cea Avión
* Daniel Barclay
* Chris Barker
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index f5a4e6c..00d420b 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1924,7 +1924,8 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
.. method:: has_key(key)
- ``dict.has_key(key)`` is equivalent to ``key in d``, but deprecated.
+ Test for the presence of *key* in the dictionary. :meth:`has_key` is
+ deprecated in favor of ``key in d``.
.. method:: items()