def prefilter_lines(self, lines, continue_prompt=False):
llines = lines.rstrip('<STR_LIT:\n>').split('<STR_LIT:\n>')<EOL>if len(llines) > <NUM_LIT:1>:<EOL><INDENT>out = '<STR_LIT:\n>'.join([self.prefilter_line(line, lnum><NUM_LIT:0>)<EOL>for lnum, line in enumerate(llines) ])<EOL><DEDENT>else:<EOL><INDENT>out = self.prefilter_line(llines[<NUM_LIT:0>], continue_prompt)<EOL><DEDENT>return out<EOL>
Prefilter multiple input lines of text.

        This is the main entry point for prefiltering multiple lines of
        input.  This simply calls :meth:`prefilter_line` for each line of
        input.

        This covers cases where there are multiple lines in the user entry,
        which is the case when the user goes back to a multiline history
        entry and presses enter.