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