class_docstr: A wrapper around stdout or stderr that duplicates all output to out.
class_docstr_tok: ["A","wrapper","around","stdout","or","stderr","that","duplicates","all","output","to","out","."]
code: def __init__(self, wrapped, out):
      super().__init__(wrapped)
      self._self_out = out
  
imports: import os
  import sys
  import subprocess
  import warnings
  from io import StringIO
  from contextlib import contextmanager
  import wrapt
  from sacred.optional import libc
  from tempfile import NamedTemporaryFile
  from sacred.settings import SETTINGS
label_desc: Use image node_id 1 to create a new TeeingStreamProxy object from inherited base classes: wrapt with example: obj = TeeingStreamProxy(wrapped, out)