Kaydet (Commit) 83a4dd3f authored tarafından Nadeem Vawda's avatar Nadeem Vawda

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

üst 07a616d1
......@@ -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