def process(self, line):
self.raw = self.raw + line<EOL>try:<EOL><INDENT>if not line[-<NUM_LIT:1>] == self.eol_char:<EOL><INDENT>line = line + self.eol_char<EOL><DEDENT><DEDENT>except IndexError:<EOL><INDENT>line = self.eol_char<EOL><DEDENT>for char in line:<EOL><INDENT>if char == self.escape_char:<EOL><INDENT>self.last_process_char = self.process_char<EOL>self.process_char = self.process_escape<EOL>continue<EOL><DEDENT>self.process_char(char)<EOL><DEDENT>if not self.complete:<EOL><INDENT>self.process( self.handler.readline(prompt=self.handler.CONTINUE_PROMPT) )<EOL><DEDENT>
Step through the line and process each character