summaryrefslogtreecommitdiff
path: root/Lib/gzip.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-29 11:39:48 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-29 11:39:48 +0300
commit48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe (patch)
tree45c7d23b65375342454fa469c9479b22f6c69a77 /Lib/gzip.py
parenta8c2a8aa8dcf236355348adf696d2aae8fbe45b2 (diff)
parent50254c57cd7a562441b7ff385d59c0255301f3ff (diff)
downloadcpython-git-48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe.tar.gz
Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
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 d2d6dd6531..b073a66bf1 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -141,7 +141,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.