From 50254c57cd7a562441b7ff385d59c0255301f3ff Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 29 Aug 2013 11:35:43 +0300 Subject: Issue #18743: Fix references to non-existant "StringIO" module in docstrings and comments. --- Lib/gzip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/gzip.py') diff --git a/Lib/gzip.py b/Lib/gzip.py index 67fe1d47c7..2fd03fa747 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py @@ -144,7 +144,7 @@ class GzipFile(io.BufferedIOBase): non-trivial value. The new class instance is based on fileobj, which can be a regular - file, a StringIO object, or any other object which simulates a file. + file, an io.BytesIO object, or any other object which simulates a file. It defaults to None, in which case filename is opened to provide a file object. -- cgit v1.2.1