

def get_next_line(self, prompt):
    self.write(prompt)
    sys.stderr.flush()
    if (prompt == sys.ps1):
        self.wait_for_user_input()
    line = self.file.readline()
    if (len(line) == 0):
        self.file.close()
        raise EOFError
    return line

dataset/ETHPy150Open inglesp/prescons/build/lib/prescons/prescons.py PseudoInteractiveConsole.get_next_line/original