]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove two lingering references to now-gone has_key() methods from the library docs.
authorCollin Winter <collinw@gmail.com>
Mon, 10 Sep 2007 00:03:41 +0000 (00:03 +0000)
committerCollin Winter <collinw@gmail.com>
Mon, 10 Sep 2007 00:03:41 +0000 (00:03 +0000)
Doc/library/wsgiref.rst
Doc/library/xml.sax.reader.rst

index cf1fc977f1483b1b39270420c26a50399703453d..b93b653377f5594281e1cb8581f9d5fc42d08e67 100644 (file)
@@ -156,7 +156,7 @@ manipulation of WSGI response headers using a mapping-like interface.
 
    :class:`Headers` objects support typical mapping operations including
    :meth:`__getitem__`, :meth:`get`, :meth:`__setitem__`, :meth:`setdefault`,
-   :meth:`__delitem__`, :meth:`__contains__` and :meth:`has_key`.  For each of
+   :meth:`__delitem__` and :meth:`__contains__`.  For each of
    these methods, the key is the header name (treated case-insensitively), and the
    value is the first value associated with that header name.  Setting a header
    deletes any existing values for that header, then adds a new value at the end of
index c3534bb6632ef47e11b95ec4c09a54152348e7b3..bb802ee2047e7243f84611fd2353c3f5095a75da 100644 (file)
@@ -324,8 +324,9 @@ The :class:`Attributes` Interface
 ---------------------------------
 
 :class:`Attributes` objects implement a portion of the mapping protocol,
-including the methods :meth:`copy`, :meth:`get`, :meth:`has_key`, :meth:`items`,
-:meth:`keys`, and :meth:`values`.  The following methods are also provided:
+including the methods :meth:`copy`, :meth:`get`, :meth:`__contains__`,
+:meth:`items`, :meth:`keys`, and :meth:`values`.  The following methods
+are also provided:
 
 
 .. method:: Attributes.getLength()