code: def __init__(self):
      self.stdout = sys.stdout
      sys.stdout = self
  
file_path: backtrader/backtrader/utils/flushfile.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import sys
label_desc: Use image node_id 1 to create a new StdOutDevNull object from inherited base classes: object with example: obj = StdOutDevNull()