summaryrefslogtreecommitdiff
path: root/Lib/gzip.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-29 11:35:43 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-29 11:35:43 +0300
commit50254c57cd7a562441b7ff385d59c0255301f3ff (patch)
treed9b63adc089c3e60a04668bcb22af1c706a68971 /Lib/gzip.py
parent15e6590774956a5bbb3a901bf5328869eb44ad49 (diff)
downloadcpython-git-50254c57cd7a562441b7ff385d59c0255301f3ff.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 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.