summaryrefslogtreecommitdiffstats
path: root/Tools/idle/PyShell.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-16 21:09:35 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-16 21:09:35 (GMT)
commitadfe773d2c0ab1aa9f692956ed8f7fec0caaf940 (patch)
tree6f21e504b47c42125f7c69bc5ac202348fda927f /Tools/idle/PyShell.py
parent3fb35153031c18995c7fbe1d8d64ab97b5827aac (diff)
downloadcpython-adfe773d2c0ab1aa9f692956ed8f7fec0caaf940.zip
cpython-adfe773d2c0ab1aa9f692956ed8f7fec0caaf940.tar.gz
cpython-adfe773d2c0ab1aa9f692956ed8f7fec0caaf940.tar.bz2
Details for debugger interface.
Diffstat (limited to 'Tools/idle/PyShell.py')
-rw-r--r--Tools/idle/PyShell.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/idle/PyShell.py b/Tools/idle/PyShell.py
index c81b666..de3d48d 100644
--- a/Tools/idle/PyShell.py
+++ b/Tools/idle/PyShell.py
@@ -270,10 +270,8 @@ class PyShell(PyShellEditorWindow):
def open_debugger(self):
import Debugger
self.interp.setdebugger(Debugger.Debugger(self))
- sys.ps1 = "[DEBUG ON]>>> "
+ sys.ps1 = "[DEBUG ON]\n>>> "
self.showprompt()
- self.top.tkraise()
- self.text.focus_set()
def beginexecuting(self):
# Helper for ModifiedInterpreter