Update GzipFile docstring to mention gzip.open()'s new text-mode support.

This commit is contained in:
Nadeem Vawda 2012-06-30 13:34:28 +02:00
parent 07a616d19e
commit 83a4dd3fdf
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class GzipFile(io.BufferedIOBase):
the exception of the readinto() and truncate() methods.
This class only supports opening files in binary mode. If you need to open a
compressed file in text mode, wrap your GzipFile with an io.TextIOWrapper.
compressed file in text mode, use the gzip.open() function.
"""