def _parse_from_import_names(self, is_future_import):
if self.current.value == '<STR_LIT:(>':<EOL><INDENT>self.consume(tk.OP)<EOL>expected_end_kinds = (tk.OP, )<EOL><DEDENT>else:<EOL><INDENT>expected_end_kinds = (tk.NEWLINE, tk.ENDMARKER)<EOL><DEDENT>while self.current.kind not in expected_end_kinds and not (<EOL>self.current.kind == tk.OP and self.current.value == '<STR_LIT:;>'):<EOL><INDENT>if self.current.kind != tk.NAME:<EOL><INDENT>self.stream.move()<EOL>continue<EOL><DEDENT>self.log.debug("<STR_LIT>",<EOL>self.current.kind, self.current.value)<EOL>if is_future_import:<EOL><INDENT>self.log.debug('<STR_LIT>', self.current.value)<EOL>self.future_imports.add(self.current.value)<EOL><DEDENT>self.consume(tk.NAME)<EOL>self.log.debug("<STR_LIT>",<EOL>self.current.kind, self.current.value)<EOL>if self.current.kind == tk.NAME and self.current.value == '<STR_LIT>':<EOL><INDENT>self.consume(tk.NAME)  <EOL>if self.current.kind == tk.NAME:<EOL><INDENT>self.consume(tk.NAME)  <EOL><DEDENT><DEDENT>if self.current.value == '<STR_LIT:U+002C>':<EOL><INDENT>self.consume(tk.OP)<EOL><DEDENT>self.log.debug("<STR_LIT>",<EOL>self.current.kind, self.current.value)<EOL><DEDENT>
Parse the 'y' part in a 'from x import y' statement.