MCPcopy Index your code
hub / github.com/python/cpython / redirect_stderr

Class redirect_stderr

Lib/contextlib.py:427–430  ·  view source on GitHub ↗

Context manager for temporarily redirecting stderr to another file.

Source from the content-addressed store, hash-verified

425
426
427class redirect_stderr(_RedirectStream):
428 """Context manager for temporarily redirecting stderr to another file."""
429
430 _stream = "stderr"
431
432
433class suppress(AbstractContextManager):

Callers 1

do_integration_testMethod · 0.90

Calls

no outgoing calls

Tested by 1

do_integration_testMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…