Document that GzipFile supports iteration.

This commit is contained in:
Georg Brandl 2010-03-21 09:09:38 +00:00
parent 3814ddfcfc
commit d1068be653
1 changed files with 1 additions and 1 deletions

View 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.