mirror of
https://github.com/python/cpython.git
synced 2024-12-01 13:55:45 +08:00
Add missing self for method call
This commit is contained in:
parent
3e0edbf4d8
commit
f4c4f115d8
@ -516,7 +516,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
|
|||||||
"Run the code without invoking the debugger"
|
"Run the code without invoking the debugger"
|
||||||
# The code better not raise an exception!
|
# The code better not raise an exception!
|
||||||
if self.tkconsole.executing:
|
if self.tkconsole.executing:
|
||||||
display_executing_dialog()
|
self.display_executing_dialog()
|
||||||
return 0
|
return 0
|
||||||
if self.rpcclt:
|
if self.rpcclt:
|
||||||
self.rpcclt.remotecall("exec", "runcode", (code,), {})
|
self.rpcclt.remotecall("exec", "runcode", (code,), {})
|
||||||
@ -527,7 +527,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
|
|||||||
def runcode(self, code):
|
def runcode(self, code):
|
||||||
"Override base class method"
|
"Override base class method"
|
||||||
if self.tkconsole.executing:
|
if self.tkconsole.executing:
|
||||||
display_executing_dialog()
|
self.display_executing_dialog()
|
||||||
return
|
return
|
||||||
self.checklinecache()
|
self.checklinecache()
|
||||||
if self.save_warnings_filters is not None:
|
if self.save_warnings_filters is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user