]> granicus.if.org Git - python/commitdiff
rephrase has_key doc
authorBenjamin Peterson <benjamin@python.org>
Fri, 31 Oct 2008 20:41:44 +0000 (20:41 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 31 Oct 2008 20:41:44 +0000 (20:41 +0000)
Doc/ACKS.txt
Doc/library/stdtypes.rst

index 7680d00110df5bad8f749e885f7e767a9e47fd96..0bff6bdefeb55ce7e0713741bdb14c5d04099020 100644 (file)
@@ -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
index f5a4e6c0bdaedaf2e64f0601703d713261818583..00d420bda9a0300f0829030d27cad869dfdb9cdf 100644 (file)
@@ -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()