diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 08:44:44 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 08:44:44 (GMT) |
commit | 6d5bd5258cd14abf419e238513835217b8d048dd (patch) | |
tree | 89c19d19861f5c0150784a1f25e6fbcfd1072df6 /Doc/library/gzip.rst | |
parent | 7653e26eccce71afba74e17e50ccbbbd92ad9f90 (diff) | |
download | cpython-6d5bd5258cd14abf419e238513835217b8d048dd.zip cpython-6d5bd5258cd14abf419e238513835217b8d048dd.tar.gz cpython-6d5bd5258cd14abf419e238513835217b8d048dd.tar.bz2 |
Issue #18743: Improved cross-references to the StringIO class.
Diffstat (limited to 'Doc/library/gzip.rst')
-rw-r--r-- | Doc/library/gzip.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst index ce11eec..4dd479e 100644 --- a/Doc/library/gzip.rst +++ b/Doc/library/gzip.rst @@ -33,7 +33,7 @@ The module defines the following items: given a non-trivial value. The new class instance is based on *fileobj*, which can be a regular file, a - :class:`StringIO` object, or any other object which simulates a file. It + :class:`~StringIO.StringIO` object, or any other object which simulates a file. It defaults to ``None``, in which case *filename* is opened to provide a file object. @@ -65,9 +65,9 @@ The module defines the following items: Calling a :class:`GzipFile` object's :meth:`close` method does not close *fileobj*, since you might wish to append more material after the compressed - data. This also allows you to pass a :class:`StringIO` object opened for + data. This also allows you to pass a :class:`~StringIO.StringIO` object opened for writing as *fileobj*, and retrieve the resulting memory buffer using the - :class:`StringIO` object's :meth:`getvalue` method. + :class:`StringIO` object's :meth:`~StringIO.StringIO.getvalue` method. :class:`GzipFile` supports iteration and the :keyword:`with` statement. |