[Python-checkins] r67070 - in python/trunk/Doc: ACKS.txt library/stdtypes.rst

benjamin.peterson python-checkins at python.org
Fri Oct 31 21:41:45 CET 2008


Author: benjamin.peterson
Date: Fri Oct 31 21:41:44 2008
New Revision: 67070

Log:
rephrase has_key doc

Modified:
   python/trunk/Doc/ACKS.txt
   python/trunk/Doc/library/stdtypes.rst

Modified: python/trunk/Doc/ACKS.txt
==============================================================================
--- python/trunk/Doc/ACKS.txt	(original)
+++ python/trunk/Doc/ACKS.txt	Fri Oct 31 21:41:44 2008
@@ -16,6 +16,7 @@
    * A. Amoroso
    * Pehr Anderson
    * Oliver Andrich
+   * Heidi Annexstad
    * Jesús Cea Avión
    * Daniel Barclay
    * Chris Barker

Modified: python/trunk/Doc/library/stdtypes.rst
==============================================================================
--- python/trunk/Doc/library/stdtypes.rst	(original)
+++ python/trunk/Doc/library/stdtypes.rst	Fri Oct 31 21:41:44 2008
@@ -1924,7 +1924,8 @@
 
    .. 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()
 


More information about the Python-checkins mailing list