Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite8f7c78

Browse files
authored
bpo-30781: Remove unused imports in idlelib.configdialog. (#4627)
1 parentfd6f8c5 commite8f7c78

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎Lib/idlelib/configdialog.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"""
1212
fromtkinterimport (Toplevel,Listbox,Text,Scale,Canvas,
1313
StringVar,BooleanVar,IntVar,TRUE,FALSE,
14-
TOP,BOTTOM,RIGHT,LEFT,SOLID,GROOVE,NORMAL,DISABLED,
15-
NONE,BOTH,X,Y,W,E,EW,NS,NSEW,NW,CENTER,
14+
TOP,BOTTOM,RIGHT,LEFT,SOLID,GROOVE,
15+
NONE,BOTH,X,Y,W,E,EW,NS,NSEW,NW,
1616
HORIZONTAL,VERTICAL,ANCHOR,ACTIVE,END)
1717
fromtkinter.ttkimport (Button,Checkbutton,Entry,Frame,Label,LabelFrame,
1818
OptionMenu,Notebook,Radiobutton,Scrollbar,Style)
@@ -25,7 +25,6 @@
2525
fromidlelib.dynoptionimportDynOptionMenu
2626
fromidlelibimportmacosx
2727
fromidlelib.queryimportSectionName,HelpSource
28-
fromidlelib.tabbedpagesimportTabbedPageSet
2928
fromidlelib.textviewimportview_text
3029
fromidlelib.autocompleteimportAutoComplete
3130
fromidlelib.codecontextimportCodeContext
@@ -1443,7 +1442,7 @@ def create_page_keys(self):
14431442
self.bindingslist['xscrollcommand']=scroll_target_x.set
14441443
self.button_new_keys=Button(
14451444
frame_custom,text='Get New Keys for Selection',
1446-
command=self.get_new_keys,state=DISABLED)
1445+
command=self.get_new_keys,state='disabled')
14471446
# frame_key_sets.
14481447
frames= [Frame(frame_key_sets,padding=2,borderwidth=0)
14491448
foriinrange(2)]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp