Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
70349141
Commit
70349141
authored
Sep 03, 2014
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #22051: remove unneeded reload that allowed bad code.
parent
88b215e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
Lib/turtledemo/__main__.py
Lib/turtledemo/__main__.py
+0
-2
No files found.
Lib/turtledemo/__main__.py
View file @
70349141
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment