mirror of
https://github.com/python/cpython.git
synced 2026-01-04 06:22:20 +00:00
Issue #22051: remove unneeded reload that allowed bad code.
This commit is contained in:
parent
88b215e20f
commit
70349141ee
1 changed files with 0 additions and 2 deletions
|
|
@ -91,7 +91,6 @@
|
|||
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 @@ def loadfile(self, filename):
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue