Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d50ade

Browse files
committed
StringIO.StringIO -> io.StringIO (closes #17168)
1 parent 3318280 commit 5d50ade

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/test.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ The :mod:`test.support` module defines the following functions:
364364

365365
.. function:: captured_stdout()
366366

367-
A context manager that runs the :keyword:`with` statement body using
368-
a :class:`StringIO.StringIO` object as sys.stdout. That object can be
369-
retrieved using the ``as`` clause of the :keyword:`with` statement.
367+
A context manager that runs the :keyword:`with` statement body using a
368+
:class:`io.StringIO` object as sys.stdout. That object can be retrieved
369+
using the ``as`` clause of the :keyword:`with` statement.
370370

371371
Example use::
372372

0 commit comments

Comments
 (0)