]> granicus.if.org Git - python/commitdiff
Document that GzipFile supports iteration.
authorGeorg Brandl <georg@python.org>
Sun, 21 Mar 2010 09:09:38 +0000 (09:09 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 21 Mar 2010 09:09:38 +0000 (09:09 +0000)
Doc/library/gzip.rst

index b789a3cb148dee9c381c41ad0ce948717a052f3d..17896c3412dda190fdc29ed1927827185d461b2a 100644 (file)
@@ -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.