summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-16 21:09:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-16 21:09:55 (GMT)
commite79be877df9a08d156f58050b303b5cab9142856 (patch)
tree2784e56d21c0b1aaa23220b87c96d644a4f10998 /Doc/c-api
parentec34ab501025f7fd677e0f6b8a8d0c9f960f069f (diff)
downloadcpython-e79be877df9a08d156f58050b303b5cab9142856.zip
cpython-e79be877df9a08d156f58050b303b5cab9142856.tar.gz
cpython-e79be877df9a08d156f58050b303b5cab9142856.tar.bz2
Issue #18743: Fix references to non-existant "StringIO" module.
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 f8483c7..118fa50 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -192,7 +192,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:`io.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