class_docstr: Format colored Python source.
      
class_docstr_tok: ["Format","colored","Python","source","."]
code: def format(self, raw, out=None, scheme=Undefined):
      import warnings
  
      if scheme is not Undefined:
          warnings.warn(
              "The `scheme` argument of IPython.utils.PyColorize:Parser.format is deprecated since IPython 6.0."
              "It will have no effect. Set the parser `style` directly.",
              stacklevel=2,
          )
      return self.format2(raw, out)[0]
  
file_path: catboost/contrib/python/ipython/py3/IPython/utils/PyColorize.py
imports: import keyword
  import os
  import sys
  import token
  import tokenize
  from IPython.utils.coloransi import TermColors, InputTermColors, ColorScheme, ColorSchemeTable
  from .colorable import Colorable
  from io import StringIO
label_desc: Use image node_id 2 for calling the Parser obj's underlying member method code with example usage: obj.format(raw, out, scheme) and returns: self