summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-21 09:09:38 (GMT)
committerGeorg Brandl <georg@python.org>2010-03-21 09:09:38 (GMT)
commitd1068be653c35bb0b6446d2fa85a39a36a7994b6 (patch)
treeade1189972d8da134ecd0763c64714b4c3cfceaa /Doc
parent3814ddfcfcd6b1bb6fd0967756e2ca68a9a5e984 (diff)
downloadcpython-d1068be653c35bb0b6446d2fa85a39a36a7994b6.zip
cpython-d1068be653c35bb0b6446d2fa85a39a36a7994b6.tar.gz
cpython-d1068be653c35bb0b6446d2fa85a39a36a7994b6.tar.bz2
Document that GzipFile supports iteration.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/gzip.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst
index b789a3c..17896c3 100644
--- a/Doc/library/gzip.rst
+++ b/Doc/library/gzip.rst
@@ -67,7 +67,7 @@ The module defines the following items:
writing as *fileobj*, and retrieve the resulting memory buffer using the
:class:`StringIO` object's :meth:`getvalue` method.
- :class:`GzipFile` supports the :keyword:`with` statement.
+ :class:`GzipFile` supports iteration and the :keyword:`with` statement.
.. versionchanged:: 2.7
Support for the :keyword:`with` statement was added.