mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Document that GzipFile supports iteration.
This commit is contained in:
parent
3814ddfcfc
commit
d1068be653
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue