summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-11-30 18:49:10 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-11-30 18:49:10 (GMT)
commitf4c4f115d80a26eb83d90593c24a1580f236c443 (patch)
tree92dc4c036e975bfb44b7c34e8517c8a32c7df7f9 /Lib/idlelib
parent3e0edbf4d8cc7728fb75cb23602ca18c0282c192 (diff)
downloadcpython-f4c4f115d80a26eb83d90593c24a1580f236c443.zip
cpython-f4c4f115d80a26eb83d90593c24a1580f236c443.tar.gz
cpython-f4c4f115d80a26eb83d90593c24a1580f236c443.tar.bz2
Add missing self for method call
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/PyShell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 3fc814b..28dc256 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -516,7 +516,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
"Run the code without invoking the debugger"
# The code better not raise an exception!
if self.tkconsole.executing:
- display_executing_dialog()
+ self.display_executing_dialog()
return 0
if self.rpcclt:
self.rpcclt.remotecall("exec", "runcode", (code,), {})
@@ -527,7 +527,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
def runcode(self, code):
"Override base class method"
if self.tkconsole.executing:
- display_executing_dialog()
+ self.display_executing_dialog()
return
self.checklinecache()
if self.save_warnings_filters is not None: