fix typo in what's new in 3.4

This commit is contained in:
Victor Stinner 2013-10-21 13:27:11 +02:00
parent e1bfd3e296
commit 6633c39af8

View 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`,