Skip to content

Commit 976045e

Browse files
committed
Remove open() reference per issue comment
1 parent af01958 commit 976045e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/contextlib.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,7 @@ Functions and classes provided:
375375
.. function:: redirect_stderr(new_target)
376376

377377
Similar to :func:`~contextlib.redirect_stdout` but redirecting the global
378-
:data:`sys.stderr` to another value, typically a :term:`file object`
379-
returned from :func:`open`.
378+
:data:`sys.stderr` to another value, typically a :term:`file object`.
380379

381380
This context manager is :ref:`reentrant <reentrant-cms>`.
382381

0 commit comments

Comments
 (0)