Commit 176de764 authored by Nadeem Vawda's avatar Nadeem Vawda

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

parent f65a6abf
......@@ -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.
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment