summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-01 21:25:55 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-01 21:25:55 (GMT)
commit877b10add4a676c3f868b86bd31e92a181b5a5b1 (patch)
tree9a7455ce3aa5f07e8f433a8aa9b59540b2cf2b40 /Doc/library/urllib.rst
parent6b38daa80dc0b63a089ac4557e25abe1f76b95af (diff)
downloadcpython-877b10add4a676c3f868b86bd31e92a181b5a5b1.zip
cpython-877b10add4a676c3f868b86bd31e92a181b5a5b1.tar.gz
cpython-877b10add4a676c3f868b86bd31e92a181b5a5b1.tar.bz2
Remove the htmllib and sgmllib modules as per PEP 3108.
Diffstat (limited to 'Doc/library/urllib.rst')
-rw-r--r--Doc/library/urllib.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst
index e976cb1..646b048 100644
--- a/Doc/library/urllib.rst
+++ b/Doc/library/urllib.rst
@@ -389,14 +389,13 @@ URL Opener objects
.. index::
single: HTML
pair: HTTP; protocol
- module: htmllib
* The data returned by :func:`urlopen` or :func:`urlretrieve` is the raw data
returned by the server. This may be binary data (such as an image), plain text
or (for example) HTML. The HTTP protocol provides type information in the reply
header, which can be inspected by looking at the :mailheader:`Content-Type`
- header. If the returned data is HTML, you can use the module :mod:`htmllib` to
- parse it.
+ header. If the returned data is HTML, you can use the module
+ :mod:`html.parser` to parse it.
.. index:: single: FTP