summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/gzip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gzip.py b/Lib/gzip.py
index f6f63bbc6e..8b8942642e 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -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.
"""