class_docstr: This class allows to capture writes to sys.stdout|stderr "in-memory"
  and will raise errors on tries to read from sys.stdin. It only
  modifies sys.stdout|stderr|stdin attributes and does not
  touch underlying File Descriptors (use StdCaptureFD for that).
code: def startall(self):
      if self.out:
          sys.stdout = self.out
      if self.err:
          sys.stderr = self.err
      if self.in_:
          sys.stdin = self.in_ = DontReadFromInput()
  
imports: import os
  import sys
  import py
  import tempfile
label_desc: Use image node_id 2 for calling the StdCapture obj's underlying member method code with example usage: obj.startall() without return types