diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 08:35:43 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 08:35:43 (GMT) |
commit | 50254c57cd7a562441b7ff385d59c0255301f3ff (patch) | |
tree | d9b63adc089c3e60a04668bcb22af1c706a68971 /Lib/gzip.py | |
parent | 15e6590774956a5bbb3a901bf5328869eb44ad49 (diff) | |
download | cpython-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.py | 2 |
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. |