mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
This commit is contained in:
parent
15e6590774
commit
50254c57cd
8 changed files with 15 additions and 21 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue