diff options
author | Georg Brandl <georg@python.org> | 2007-10-21 12:10:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-21 12:10:28 (GMT) |
commit | e7a0990113873e5f0cc5cac203f47a8dcbda9848 (patch) | |
tree | a19f8f84973bb222ee9564617004c926f41e6100 /Doc/library/urllib.rst | |
parent | cf3fb259329eedfa9d2c802b2ea5ced287c21e78 (diff) | |
download | cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.zip cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.tar.gz cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.tar.bz2 |
Add :term:s for iterator.
Diffstat (limited to 'Doc/library/urllib.rst')
-rw-r--r-- | Doc/library/urllib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index ef8264f..81dd36f 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -29,7 +29,7 @@ It defines the following public functions: :exc:`IOError` exception is raised. If all went well, a file-like object is returned. This supports the following methods: :meth:`read`, :meth:`readline`, :meth:`readlines`, :meth:`fileno`, :meth:`close`, :meth:`info` and - :meth:`geturl`. It also has proper support for the iterator protocol. One + :meth:`geturl`. It also has proper support for the :term:`iterator` protocol. One caveat: the :meth:`read` method, if the size argument is omitted or negative, may not read until the end of the data stream; there is no good way to determine that the entire stream from a socket has been read in the general case. |