From: Victor Stinner Date: Mon, 21 Oct 2013 11:27:11 +0000 (+0200) Subject: fix typo in what's new in 3.4 X-Git-Tag: v3.4.0b1~571^2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6633c39af828b524c6020fd93635abdf3ad2f7f1;p=thirdparty%2FPython%2Fcpython.git fix typo in what's new in 3.4 --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index ac504978a2cc..e978fcbb1448 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -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`,