class_docstr: Automatically import formatters.
class_docstr_tok: ["Automatically","import","formatters","."]
code: def __getattr__(self, name):
      info = FORMATTERS.get(name)
      if info:
          _load_formatters(info[0])
          cls = _formatter_cache[info[1]]
          setattr(self, name, cls)
          return cls
      raise AttributeError(name)
  
file_path: catboost/contrib/python/Pygments/py2/pygments/formatters/__init__.py
imports: import re
  import sys
  import types
  import fnmatch
  from os.path import basename
  from pygments.formatters._mapping import FORMATTERS
  from pygments.plugin import find_plugin_formatters
  from pygments.util import ClassNotFound, itervalues
label_desc: Use image node_id 1 for calling the _automodule obj's underlying member method code with example usage: obj.__getattr__(name) and returns: cls