class_docstr: PrettyPrinter subclass that elides long lists/arrays/strings
class_docstr_tok: ["PrettyPrinter","subclass","that","elides","long","lists\/arrays\/strings"]
code: def _format(self, val, stream, indent, allowance, context, level):
      if ElidedWrapper.is_wrappable(val):
          elided_val = ElidedWrapper(val, self.threshold, indent)
  
          return self._format(
              elided_val, stream, indent, allowance, context, level
          )
      else:
          return PrettyPrinter._format(
              self, val, stream, indent, allowance, context, level
          )
  
file_path: catboost/contrib/python/plotly/py3/plotly/utils.py
imports: import textwrap
  from pprint import PrettyPrinter
  from _plotly_utils.utils import *
  from _plotly_utils.data_utils import *
label_desc: Use image node_id 2 for calling the ElidedPrettyPrinter obj's underlying member method code with example usage: obj._format(val, stream, indent, allowance, context, level) and returns: self, PrettyPrinter