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