def raw_input(self, prompt='<STR_LIT>'):
<EOL>if self.has_readline:<EOL><INDENT>self.set_readline_completer()<EOL><DEDENT>prompt = py3compat.cast_bytes_py2(prompt)<EOL>try:<EOL><INDENT>line = py3compat.str_to_unicode(self.raw_input_original(prompt))<EOL><DEDENT>except ValueError:<EOL><INDENT>warn("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>self.ask_exit()<EOL>return "<STR_LIT>"<EOL><DEDENT>if self.autoindent:<EOL><INDENT>if num_ini_spaces(line) > self.indent_current_nsp:<EOL><INDENT>line = line[self.indent_current_nsp:]<EOL>self.indent_current_nsp = <NUM_LIT:0><EOL><DEDENT><DEDENT>return line<EOL>
Write a prompt and read a line.

        The returned line does not include the trailing newline.
        When the user enters the EOF key sequence, EOFError is raised.

        Optional inputs:

          - prompt(''): a string to be printed to prompt the user.

          - continue_prompt(False): whether this line is the first one or a
          continuation in a sequence of inputs.