code: def with_metaclass(meta, *bases):
      """Create a base class with a metaclass."""
      return meta("_NewBase", bases, {})
  
file_path: catboost/contrib/python/ipython/py2/IPython/utils/py3compat.py
imports: import functools
  import os
  import sys
  import re
  import shutil
  import types
  import platform
  from .encoding import DEFAULT_ENCODING
label_desc: Use image node_id 11 for calling a global function with example usage: with_metaclass(meta) and returns: meta