class_docstr: Used to temporarily redirect writes meant for sys.stdout and sys.stderr to a new location
      
class_docstr_tok: ["Used","to","temporarily","redirect","writes","meant","for","sys.stdout","and","sys.stderr","to","a","new","location"]
code: def __enter__(self):
      self._orig_stdout = sys.stdout
      self._orig_stderr = sys.stderr
      sys.stdout = self
      sys.stderr = self
  
imports: import code, sys, traceback
  from ..Qt import QtWidgets, QtGui, QtCore
  from ..functions import mkBrush
  from .CmdInput import CmdInput
label_desc: Use image node_id 7 for calling the StdoutInterceptor obj's underlying member method code with example usage: obj.__enter__() without return types