mirror of
https://github.com/python/cpython.git
synced 2025-10-01 04:42:10 +00:00
merge 3.3 (#17168)
This commit is contained in:
commit
fde43ec5cc
1 changed files with 3 additions and 3 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue