From: Georg Brandl Date: Sun, 21 Mar 2010 09:09:38 +0000 (+0000) Subject: Document that GzipFile supports iteration. X-Git-Tag: v2.7b1~294 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1068be653c35bb0b6446d2fa85a39a36a7994b6;p=python Document that GzipFile supports iteration. --- diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst index b789a3cb14..17896c3412 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.