]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix typo in what's new in 3.4
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Oct 2013 11:27:11 +0000 (13:27 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Oct 2013 11:27:11 +0000 (13:27 +0200)
Doc/whatsnew/3.4.rst

index ac504978a2ccf22f855b94f4d5f84b1b55be4858..e978fcbb14485298e3952034eeac1da0ff3db6a6 100644 (file)
@@ -271,7 +271,7 @@ intent of code that deliberately suppresses exceptions from a single
 statement. (Contributed by Raymond Hettinger in :issue:`15806` and
 Zero Piraeus in :issue:`19266`)
 
-The new :class:`contextlib.redirect_stdio` context manager makes it easier
+The new :func:`contextlib.redirect_stdout` context manager makes it easier
 for utility scripts to handle inflexible APIs that don't provide any
 options to retrieve their output as a string or direct it to somewhere
 other than :data:`sys.stdout`. In conjunction with :class:`io.StringIO`,