(backend, parser, add_help)
return newparser
get options for the chosen backend
    ensure they don't conflict with previously defined ones
get options for the chosen backend
    ensure they don't conflict with previously defined ones
get options for the chosen backend ensure they don t conflict with previously defined ones
def initialize_backend(backend, parser, add_help):
    """
    get options for the chosen backend
    ensure they don't conflict with previously defined ones
    """
    if hasattr(backend, '__module__'):
        # ie. configuration_backends are classes
        # in a module containing the arg parser
        # (otherwise, assume the backend is a module containing the arg parser)
        backend = importlib.import_module(backend.__module__)
    newparser = at.build_arg_parser(
        parents=[parser, backend.build_arg_parser()], add_help=add_help)
    return newparser
def initialize_backend ( backend , parser , add_help ) : if hasattr ( backend , '__module__' ) : # ie. configuration_backends are classes # in a module containing the arg parser # (otherwise, assume the backend is a module containing the arg parser) backend = importlib . import_module ( backend . __module__ ) newparser = at . build_arg_parser ( parents = [ parser , backend . build_arg_parser ( ) ] , add_help = add_help ) return newparser