Commit 5d50adee authored by Benjamin Peterson's avatar Benjamin Peterson

StringIO.StringIO -> io.StringIO (closes #17168)

parent 33182807
......@@ -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::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment