diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-02-09 08:57:28 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-02-09 08:57:28 -0500 |
commit | 5d50adee50daf843f160881a6c6421ca3833a09b (patch) | |
tree | fecf02a8c3f1e5aa213ed5a518f472a105ebdd05 | |
parent | 33182807f8daefdf4455c3190586f5a2c299820b (diff) | |
download | cpython-git-5d50adee50daf843f160881a6c6421ca3833a09b.tar.gz |
StringIO.StringIO -> io.StringIO (closes #17168)
-rw-r--r-- | Doc/library/test.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 2e8ba328b3..940d3e744e 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:: |