class_docstr: A DisplayPublisher that stores
class_docstr_tok: ["A","DisplayPublisher","that","stores"]
code: def clear_output(self, wait=False):
      super(CapturingDisplayPublisher, self).clear_output(wait)
  
      # empty the list, *do not* reassign a new list
      self.outputs.clear()
  
file_path: catboost/contrib/python/ipython/py3/IPython/core/displaypub.py
imports: import sys
  from traitlets.config.configurable import Configurable
  from traitlets import List
  from .display_functions import publish_display_data
label_desc: Use image node_id 2 for calling the CapturingDisplayPublisher obj's underlying member method code with example usage: obj.clear_output(wait) without return types