mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
fix typo in what's new in 3.4
This commit is contained in:
parent
e1bfd3e296
commit
6633c39af8
1 changed files with 1 additions and 1 deletions
|
|
@ -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`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue