Document that GzipFile supports iteration.
This commit is contained in:
parent
3814ddfcfc
commit
d1068be653
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue