def compose(*mixins, **kwargs):
    if not set(['name']).issuperset(kwargs.keys()):
        unknown = set(kwargs.keys())
        unknown.discard(set(['name']))
        msg = "compose() got an unexpected keyword argument '{0}'".format(unknown.pop())
        raise TypeError(msg)
    name = kwargs.get('name', 'CompositeHelpFormatter')
    return type(name, tuple(mixins) + (argparse.HelpFormatter,), {})
Compose a new help formatter class for argparse.
dataset/ETHPy150Open aliles/begins/begin/formatters.py/compose