def attach_import_node(node, modname, membername):
 from_node = From(modname, [(membername, None)])
 _attach_local_node(node, from_node, membername)

def attach_import_node ( node , modname , membername ) : from_node = From ( modname , [ ( membername , None ) ] ) _attach_local_node ( node , from_node , membername )
create a from node and register it in the locals of the given node with the specified name .