summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-09-10 00:03:41 (GMT)
committerCollin Winter <collinw@gmail.com>2007-09-10 00:03:41 (GMT)
commitf6b81212559af6fc18b0c282f3d22635c6c3cf35 (patch)
tree0990c0c7185262e0652ae400e929c1819a491614
parentc111d9fbbd1217147c3e1ee3374a0c87a8b94c93 (diff)
downloadcpython-f6b81212559af6fc18b0c282f3d22635c6c3cf35.zip
cpython-f6b81212559af6fc18b0c282f3d22635c6c3cf35.tar.gz
cpython-f6b81212559af6fc18b0c282f3d22635c6c3cf35.tar.bz2
Remove two lingering references to now-gone has_key() methods from the library docs.
-rw-r--r--Doc/library/wsgiref.rst2
-rw-r--r--Doc/library/xml.sax.reader.rst5
2 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst
index cf1fc97..b93b653 100644
--- a/Doc/library/wsgiref.rst
+++ b/Doc/library/wsgiref.rst
@@ -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
diff --git a/Doc/library/xml.sax.reader.rst b/Doc/library/xml.sax.reader.rst
index c3534bb..bb802ee 100644
--- a/Doc/library/xml.sax.reader.rst
+++ b/Doc/library/xml.sax.reader.rst
@@ -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()