From: Benjamin Peterson Date: Sat, 9 Feb 2013 13:57:28 +0000 (-0500) Subject: StringIO.StringIO -> io.StringIO (closes #17168) X-Git-Tag: v3.3.1rc1~202 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d50adee50daf843f160881a6c6421ca3833a09b;p=thirdparty%2FPython%2Fcpython.git StringIO.StringIO -> io.StringIO (closes #17168) --- diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 2e8ba328b350..940d3e744e83 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::