Skip to content
Snippets Groups Projects
Unverified Commit f4389bfb authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570)



restart_subprocess is a method of self, the pyshell.InteractiveInterpreter instance. The latter does not have an interp attribute redundantly referring to itself. (The PyShell instance does have an interp attribute, referring to the InteractiveInterpreter instance.)
(cherry picked from commit e41bfd15)

Co-authored-by: default avatarTerry Jan Reedy <tjreedy@udel.edu>
parent a5b0c17e
No related branches found
No related tags found
No related merge requests found
......@@ -757,7 +757,7 @@ def runcommand(self, code):
def runcode(self, code):
"Override base class method"
if self.tkconsole.executing:
self.interp.restart_subprocess()
self.restart_subprocess()
self.checklinecache()
debugger = self.debugger
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment