summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-09-03 23:29:17 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-09-03 23:29:17 (GMT)
commit70349141eea6e6b485fe04af80c286b864ae6dfd (patch)
tree2f70752a533f869f9565243685f2fac87b102af7 /Lib/turtledemo
parent88b215e20fae580c21ca103336c05e2be88cb565 (diff)
downloadcpython-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-xLib/turtledemo/__main__.py2
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