def visit_import(self, node, parent):
names = [(alias.name, alias.asname) for alias in node.names]<EOL>newnode = nodes.Import(<EOL>names,<EOL>getattr(node, "<STR_LIT>", None),<EOL>getattr(node, "<STR_LIT>", None),<EOL>parent,<EOL>)<EOL>for (name, asname) in newnode.names:<EOL><INDENT>name = asname or name<EOL>parent.set_local(name.split("<STR_LIT:.>")[<NUM_LIT:0>], newnode)<EOL><DEDENT>return newnode<EOL>
visit a Import node by returning a fresh instance of it