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
e8f7c78a
Commit
e8f7c78a
authored
Nov 28, 2017
by
Terry Jan Reedy
Committed by
GitHub
Nov 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-30781: Remove unused imports in idlelib.configdialog. (#4627)
parent
fd6f8c56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Lib/idlelib/configdialog.py
Lib/idlelib/configdialog.py
+3
-4
No files found.
Lib/idlelib/configdialog.py
View file @
e8f7c78a
...
@@ -11,8 +11,8 @@ Refer to comments in EditorWindow autoindent code for details.
...
@@ -11,8 +11,8 @@ Refer to comments in EditorWindow autoindent code for details.
"""
"""
from
tkinter
import
(
Toplevel
,
Listbox
,
Text
,
Scale
,
Canvas
,
from
tkinter
import
(
Toplevel
,
Listbox
,
Text
,
Scale
,
Canvas
,
StringVar
,
BooleanVar
,
IntVar
,
TRUE
,
FALSE
,
StringVar
,
BooleanVar
,
IntVar
,
TRUE
,
FALSE
,
TOP
,
BOTTOM
,
RIGHT
,
LEFT
,
SOLID
,
GROOVE
,
NORMAL
,
DISABLED
,
TOP
,
BOTTOM
,
RIGHT
,
LEFT
,
SOLID
,
GROOVE
,
NONE
,
BOTH
,
X
,
Y
,
W
,
E
,
EW
,
NS
,
NSEW
,
NW
,
CENTER
,
NONE
,
BOTH
,
X
,
Y
,
W
,
E
,
EW
,
NS
,
NSEW
,
NW
,
HORIZONTAL
,
VERTICAL
,
ANCHOR
,
ACTIVE
,
END
)
HORIZONTAL
,
VERTICAL
,
ANCHOR
,
ACTIVE
,
END
)
from
tkinter.ttk
import
(
Button
,
Checkbutton
,
Entry
,
Frame
,
Label
,
LabelFrame
,
from
tkinter.ttk
import
(
Button
,
Checkbutton
,
Entry
,
Frame
,
Label
,
LabelFrame
,
OptionMenu
,
Notebook
,
Radiobutton
,
Scrollbar
,
Style
)
OptionMenu
,
Notebook
,
Radiobutton
,
Scrollbar
,
Style
)
...
@@ -25,7 +25,6 @@ from idlelib.config_key import GetKeysDialog
...
@@ -25,7 +25,6 @@ from idlelib.config_key import GetKeysDialog
from
idlelib.dynoption
import
DynOptionMenu
from
idlelib.dynoption
import
DynOptionMenu
from
idlelib
import
macosx
from
idlelib
import
macosx
from
idlelib.query
import
SectionName
,
HelpSource
from
idlelib.query
import
SectionName
,
HelpSource
from
idlelib.tabbedpages
import
TabbedPageSet
from
idlelib.textview
import
view_text
from
idlelib.textview
import
view_text
from
idlelib.autocomplete
import
AutoComplete
from
idlelib.autocomplete
import
AutoComplete
from
idlelib.codecontext
import
CodeContext
from
idlelib.codecontext
import
CodeContext
...
@@ -1443,7 +1442,7 @@ class KeysPage(Frame):
...
@@ -1443,7 +1442,7 @@ class KeysPage(Frame):
self
.
bindingslist
[
'xscrollcommand'
]
=
scroll_target_x
.
set
self
.
bindingslist
[
'xscrollcommand'
]
=
scroll_target_x
.
set
self
.
button_new_keys
=
Button
(
self
.
button_new_keys
=
Button
(
frame_custom
,
text
=
'Get New Keys for Selection'
,
frame_custom
,
text
=
'Get New Keys for Selection'
,
command
=
self
.
get_new_keys
,
state
=
DISABLED
)
command
=
self
.
get_new_keys
,
state
=
'disabled'
)
# frame_key_sets.
# frame_key_sets.
frames
=
[
Frame
(
frame_key_sets
,
padding
=
2
,
borderwidth
=
0
)
frames
=
[
Frame
(
frame_key_sets
,
padding
=
2
,
borderwidth
=
0
)
for
i
in
range
(
2
)]
for
i
in
range
(
2
)]
...
...
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