code: def __repr__(self):
      cls = self.__class__
      tpl = "{mod}.{cls}({args})"
      return tpl.format(
          mod=cls.__module__, cls=cls.__name__, args=self.stream
      )
  
imports: from __future__ import print_function
  from __future__ import absolute_import
  import atexit
  import os
  import sys
  import tempfile
  import warnings
  from warnings import warn
  from IPython.utils.decorators import undoc
  from .capture import CapturedIO, capture_output
  from .py3compat import string_types, input, PY3
label_desc: Use image node_id 2 for calling the IOStream obj's underlying member method code with example usage: obj.__repr__() and returns: tpl