diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-09-03 23:29:17 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-09-03 23:29:17 (GMT) |
commit | 70349141eea6e6b485fe04af80c286b864ae6dfd (patch) | |
tree | 2f70752a533f869f9565243685f2fac87b102af7 /Lib/turtledemo | |
parent | 88b215e20fae580c21ca103336c05e2be88cb565 (diff) | |
download | cpython-70349141eea6e6b485fe04af80c286b864ae6dfd.zip cpython-70349141eea6e6b485fe04af80c286b864ae6dfd.tar.gz cpython-70349141eea6e6b485fe04af80c286b864ae6dfd.tar.bz2 |
Issue #22051: remove unneeded reload that allowed bad code.
Diffstat (limited to 'Lib/turtledemo')
-rwxr-xr-x | Lib/turtledemo/__main__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/turtledemo/__main__.py b/Lib/turtledemo/__main__.py index 9b38e66..4166d26 100755 --- a/Lib/turtledemo/__main__.py +++ b/Lib/turtledemo/__main__.py @@ -91,7 +91,6 @@ from tkinter import * from idlelib.Percolator import Percolator from idlelib.ColorDelegator import ColorDelegator from idlelib.textView import view_text -from importlib import reload from turtledemo import __doc__ as about_turtledemo import turtle @@ -322,7 +321,6 @@ class DemoWindow(object): self.text.delete("1.0", "end") self.text.insert("1.0", chars) self.root.title(filename + " - a Python turtle graphics example") - reload(self.module) self.configGUI(NORMAL, DISABLED, DISABLED, "Press start button", "red") self.state = READY |