summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-29 08:44:44 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-29 08:44:44 (GMT)
commit6d5bd5258cd14abf419e238513835217b8d048dd (patch)
tree89c19d19861f5c0150784a1f25e6fbcfd1072df6 /Doc/c-api
parent7653e26eccce71afba74e17e50ccbbbd92ad9f90 (diff)
downloadcpython-6d5bd5258cd14abf419e238513835217b8d048dd.zip
cpython-6d5bd5258cd14abf419e238513835217b8d048dd.tar.gz
cpython-6d5bd5258cd14abf419e238513835217b8d048dd.tar.bz2
Issue #18743: Improved cross-references to the StringIO class.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/typeobj.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index c35f727..bc596cc 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -199,7 +199,7 @@ type objects) *must* have the :attr:`ob_size` field.
An optional pointer to the instance print function.
The print function is only called when the instance is printed to a *real* file;
- when it is printed to a pseudo-file (like a :class:`StringIO` instance), the
+ when it is printed to a pseudo-file (like a :class:`~StringIO.StringIO` instance), the
instance's :c:member:`~PyTypeObject.tp_repr` or :c:member:`~PyTypeObject.tp_str` function is called to convert it to
a string. These are also called when the type's :c:member:`~PyTypeObject.tp_print` field is
*NULL*. A type should never implement :c:member:`~PyTypeObject.tp_print` in a way that produces