def _import_functs(mod, dct, names=None):
    if names is None:
        names = dir(mod)
    for name in names:
        if isinstance(name, tuple):
            name, alias = name
        else:
            alias = name
        if not name[0] == '_':
            dct[name] = getattr(mod, name)
            dct[alias] = dct[name]


# this dict will act as the local scope when we eval our expressions
Maps attributes attrs from the given module into the given dict.
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/components/exec_comp.py/_import_functs