def build_from_import(fromname, names):
 return From(fromname, [(name, None) for name in names])

def build_from_import ( fromname , names ) : return From ( fromname , [ ( name , None ) for name in names ] )
create and initialize an astroid from import statement .