From 5d50adee50daf843f160881a6c6421ca3833a09b Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 9 Feb 2013 08:57:28 -0500 Subject: [PATCH] StringIO.StringIO -> io.StringIO (closes #17168) --- Doc/library/test.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 2e8ba328b35..940d3e744e8 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -364,9 +364,9 @@ The :mod:`test.support` module defines the following functions: .. function:: captured_stdout() - A context manager that runs the :keyword:`with` statement body using - a :class:`StringIO.StringIO` object as sys.stdout. That object can be - retrieved using the ``as`` clause of the :keyword:`with` statement. + A context manager that runs the :keyword:`with` statement body using a + :class:`io.StringIO` object as sys.stdout. That object can be retrieved + using the ``as`` clause of the :keyword:`with` statement. Example use::