code: def clear_output(wait=False):
      """Clear the output of the current cell receiving output.
  
      Parameters
      ----------
      wait : bool [default: false]
          Wait to clear the output until new output is available to replace it.
      """
      from IPython.core.interactiveshell import InteractiveShell
  
      if InteractiveShell.initialized():
          InteractiveShell.instance().display_pub.clear_output(wait)
      else:
          print("\033[2K\r", end="")
          sys.stdout.flush()
          print("\033[2K\r", end="")
          sys.stderr.flush()
  
file_path: catboost/contrib/python/ipython/py3/IPython/core/display_functions.py
imports: from binascii import b2a_hex
  import os
  import sys
  import warnings
label_desc: Use image node_id 6 for calling a global function with example usage: clear_output(wait) without return types