Issue #22051: remove unneeded reload that allowed bad code.

This commit is contained in:
Terry Jan Reedy 2014-09-03 19:29:17 -04:00
parent 88b215e20f
commit 70349141ee
1 changed files with 0 additions and 2 deletions

View File

@ -91,7 +91,6 @@ from tkinter import *
from idlelib.Percolator import Percolator from idlelib.Percolator import Percolator
from idlelib.ColorDelegator import ColorDelegator from idlelib.ColorDelegator import ColorDelegator
from idlelib.textView import view_text from idlelib.textView import view_text
from importlib import reload
from turtledemo import __doc__ as about_turtledemo from turtledemo import __doc__ as about_turtledemo
import turtle import turtle
@ -322,7 +321,6 @@ class DemoWindow(object):
self.text.delete("1.0", "end") self.text.delete("1.0", "end")
self.text.insert("1.0", chars) self.text.insert("1.0", chars)
self.root.title(filename + " - a Python turtle graphics example") self.root.title(filename + " - a Python turtle graphics example")
reload(self.module)
self.configGUI(NORMAL, DISABLED, DISABLED, self.configGUI(NORMAL, DISABLED, DISABLED,
"Press start button", "red") "Press start button", "red")
self.state = READY self.state = READY