Fixed a wrong signature of the input() method of the Python3 debugger backend.

Thu, 07 Jan 2010 12:30:15 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 07 Jan 2010 12:30:15 +0000
changeset 26
a9885e2f3a8c
parent 25
5163e6f94ba5
child 27
1018a0347ae9

Fixed a wrong signature of the input() method of the Python3 debugger backend.

DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python3/DebugClientBase.py	Thu Jan 07 10:06:18 2010 +0000
+++ b/DebugClients/Python3/DebugClientBase.py	Thu Jan 07 12:30:15 2010 +0000
@@ -285,15 +285,14 @@
         
         self.write("{0}{1!r}\n".format(ResponseThreadList, (currentId, threadList)))
     
-    def input(self, prompt, echo):
+    def input(self, prompt):
         """
         Public method to implement input() using the event loop.
         
         @param prompt the prompt to be shown (string)
-        @param echo Flag indicating echoing of the input (boolean)
         @return the entered string
         """
-        self.write("{0}{1!r}\n".format(ResponseRaw, (prompt, echo)))
+        self.write("{0}{1!r}\n".format(ResponseRaw, (prompt, 1)))
         self.inRawMode = True
         self.eventLoop(True)
         return self.rawLine

eric ide

mercurial