From d1068be653c35bb0b6446d2fa85a39a36a7994b6 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 21 Mar 2010 09:09:38 +0000 Subject: Document that GzipFile supports iteration. --- Doc/library/gzip.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v0.12