summaryrefslogtreecommitdiffstats
path: root/Lib/gzip.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-29 08:35:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-29 08:35:43 (GMT)
commit50254c57cd7a562441b7ff385d59c0255301f3ff (patch)
treed9b63adc089c3e60a04668bcb22af1c706a68971 /Lib/gzip.py
parent15e6590774956a5bbb3a901bf5328869eb44ad49 (diff)
downloadcpython-50254c57cd7a562441b7ff385d59c0255301f3ff.zip
cpython-50254c57cd7a562441b7ff385d59c0255301f3ff.tar.gz
cpython-50254c57cd7a562441b7ff385d59c0255301f3ff.tar.bz2
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 67fe1d4..2fd03fa 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.