Inheritance diagram for IPython.kernel.core.redirector_output_trap:
Trap stdout/stderr, including at the OS level. Calls a callback with the output each time Python tries to write to the stdout or stderr.
Bases: IPython.kernel.core.output_trap.OutputTrap
Object which can trap text sent to stdout and stderr.
out_callback : callable called when there is output in the stdout err_callback : callable called when there is output in the stderr
Callback called when there is some Python output on stderr.
Callback called when there is some Python output on stdout.
Set the hooks: set the redirectors and call the base class.
Remove the hooks: call the base class and stop the redirectors.