You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / core / tbtools / TBTools / _get_ostream

function

IPython.core.tbtools:TBTools._get_ostream

source: /IPython/core/tbtools.py :434

Signature

def   _get_ostream ( self )  →  Any

Summary

Output stream that exceptions are written to.

Extended Summary

Valid values are:

  • None: the default, which means that IPython will dynamically resolve to sys.stdout. This ensures compatibility with most tools, including Windows (where plain stdout doesn't recognize ANSI escapes).

  • Any object with 'write' and 'flush' attributes.

Aliases

  • IPython.core.doctb.TBTools._get_ostream