]> granicus.if.org Git - python/commitdiff
StringIO.StringIO -> io.StringIO (closes #17168)
authorBenjamin Peterson <benjamin@python.org>
Sat, 9 Feb 2013 13:57:28 +0000 (08:57 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sat, 9 Feb 2013 13:57:28 +0000 (08:57 -0500)
Doc/library/test.rst

index 2e8ba328b3505efe3001675bf86b726756789e7e..940d3e744e8302868bf3ad6a447f297e41fff9a0 100644 (file)
@@ -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::