http://hg.python.org/cpython/rev/b4ef0f7ad037 changeset: 77866:b4ef0f7ad037 user: Nadeem Vawda <nadeem.vawda@gmail.com> date: Sat Jun 30 13:34:28 2012 +0200 summary: Update GzipFile docstring to mention gzip.open()'s new text-mode support. files: Lib/gzip.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Lib/gzip.py b/Lib/gzip.py --- 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. """ -- Repository URL: http://hg.python.org/cpython