bundles / IPython 9.13.0 / IPython / core / tbtools / TBTools / _get_ostream
function
IPython.core.tbtools:TBTools._get_ostream
source: /IPython/core/tbtools.py :435
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