summaryrefslogtreecommitdiff
path: root/Lib/gzip.py
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-06-30 13:34:28 +0200
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-06-30 13:34:28 +0200
commit83a4dd3fdfb1f38391f43ef0456a958f779a3955 (patch)
treea6d6b6e5f1d47158d1165ef1cdcc6a57335a0d4c /Lib/gzip.py
parent07a616d19ed4a77e9c134773197687072be57b44 (diff)
downloadcpython-git-83a4dd3fdfb1f38391f43ef0456a958f779a3955.tar.gz
Update GzipFile docstring to mention gzip.open()'s new text-mode support.
Diffstat (limited to 'Lib/gzip.py')
-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.
"""