diff -r 812ee8c0a91a -r 39e3db2b4936 eric6/DebugClients/Python/AsyncFile.py --- a/eric6/DebugClients/Python/AsyncFile.py Wed Jun 17 17:14:12 2020 +0200 +++ b/eric6/DebugClients/Python/AsyncFile.py Sun Jul 05 11:11:24 2020 +0200 @@ -12,12 +12,6 @@ from DebugUtilities import prepareJsonCommand -try: - unicode -except NameError: - unicode = str - raw_input = input - def AsyncPendingWrite(file): """ @@ -180,7 +174,7 @@ """ self.__checkMode('r') - buf = raw_input() + buf = input() if size >= 0: buf = buf[:size] return buf @@ -278,7 +272,7 @@ """ self.__checkMode('r') - line = raw_input() + '\n' + line = input() + '\n' if sizehint >= 0: line = line[:sizehint] return line @@ -370,6 +364,3 @@ @type list of str """ self.write("".join(lines)) - -# -# eflag: noqa = M702