commit | 83a4dd3fdfb1f38391f43ef0456a958f779a3955 | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Sat Jun 30 13:34:28 2012 +0200 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Sat Jun 30 13:34:28 2012 +0200 |
tree | a6d6b6e5f1d47158d1165ef1cdcc6a57335a0d4c | |
parent | 07a616d19ed4a77e9c134773197687072be57b44 [diff] [blame] |
Update GzipFile docstring to mention gzip.open()'s new text-mode support.
diff --git a/Lib/gzip.py b/Lib/gzip.py index f6f63bb..8b89426 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py
@@ -129,7 +129,7 @@ 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. """