class_docstr: The custom IPython displayhook to replace sys.displayhook.
  
  This class does many things, but the basic idea is that it is a callable
  that gets called anytime user code returns a value.
class_docstr_tok: ["The","custom","IPython","displayhook","to","replace","sys.displayhook",".","This","class","does","many","things",",","but","the","basic","idea","is","that","it","is","a","callable","that","gets","called","anytime","user","code","returns","a","value","."]
docstr: Write the output prompt.
  
  The default implementation simply writes the prompt to
  ``sys.stdout``.
docstr_tok: ["Write","the","output","prompt",".","The","default","implementation","simply","writes","the","prompt","to","``","sys.stdout","``","."]
code: def write_output_prompt(self):
      """Write the output prompt.
  
      The default implementation simply writes the prompt to
      ``sys.stdout``.
      """
      # Use write, not print which adds an extra space.
      sys.stdout.write(self.shell.separate_out)
      outprompt = "Out[{}]: ".format(self.shell.execution_count)
      if self.do_full_cache:
          sys.stdout.write(outprompt)
  
imports: from __future__ import print_function
  import sys
  import io
  import tokenize
  from traitlets.config.configurable import Configurable
  from IPython.utils.py3compat import builtin_mod, cast_unicode_py2
  from traitlets import Instance, Float
  from warnings import warn
label_desc: Use image node_id 6 for calling the DisplayHook obj's underlying member method code with example usage: obj.write_output_prompt() without return types