code: def __init__(self, stdout=None, stderr=None):
      self._stdout = stdout or sys.stdout
      self._stderr = stderr or sys.stderr
  
imports: import collections
  import os
  import sys
label_desc: Use image node_id 1 to create a new RedirectStdStreams object from inherited base classes: object with example: obj = RedirectStdStreams(stdout, stderr)