class_docstr: A context manager for "deep suppression" of stdout and stderr in
  Python, i.e. it suppresses all print, even if the print originates in a
  compiled C/Fortran sub-function.
     This does not suppress raised exceptions, since exceptions are printed
  to stderr just before a script exits, and after the context manager has
  exited (at least, I think that is why it lets exceptions through).
  
  source:
  https://stackoverflow.com/questions/11130156/suppress-stdout-stderr-print-from-python-functions
code: def __exit__(self, *_):
      # Re-assign the real stdout/stderr back to (1) and (2)
      os.dup2(self.save_fds[0], 1)
      os.dup2(self.save_fds[1], 2)
      # Close all file descriptors
      for fd in self.null_fds + self.save_fds:
          os.close(fd)
  
file_path: darts/darts/logging.py
imports: import logging
  import os
  import time
  import warnings
label_desc: Use image node_id 3 for calling the SuppressStdoutStderr obj's underlying member method code with example usage: obj.__exit__() without return types