def with_metaclass(meta, base=object):
    """Create a base class with a metaclass."""
    return meta(meta.__name__ % "%sBase", (base,), {})
################################################
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Mako-0.8.1/mako/compat.py/with_metaclass/swapped operands of `%`