summaryrefslogtreecommitdiffstats
path: root/Doc/lib/liburllib.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-03-09 05:33:33 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-03-09 05:33:33 (GMT)
commit42182ebaf6387371c238d2a3484e7f1e085c9d1c (patch)
tree8f66f70db6a3ee587fe392a07898179863abe3cc /Doc/lib/liburllib.tex
parente9e20a98381bd7689f6813ac66e3400e1069757e (diff)
downloadcpython-42182ebaf6387371c238d2a3484e7f1e085c9d1c.zip
cpython-42182ebaf6387371c238d2a3484e7f1e085c9d1c.tar.gz
cpython-42182ebaf6387371c238d2a3484e7f1e085c9d1c.tar.bz2
SF 698520: Iterator for urllib.URLOpener
Contributed by Brett Cannon.
Diffstat (limited to 'Doc/lib/liburllib.tex')
-rw-r--r--Doc/lib/liburllib.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex
index 9b1ef31..20e2796 100644
--- a/Doc/lib/liburllib.tex
+++ b/Doc/lib/liburllib.tex
@@ -27,7 +27,8 @@ if the server returns an error code, the \exception{IOError} exception
is raised. If all went well, a file-like object is returned. This
supports the following methods: \method{read()}, \method{readline()},
\method{readlines()}, \method{fileno()}, \method{close()},
-\method{info()} and \method{geturl()}.
+\method{info()} and \method{geturl()}. It also has proper support for
+the iterator protocol.
Except for the \method{info()} and \method{geturl()} methods,
these methods have the same interface as for