Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.7] bpo-40443: Remove unused imports in idlelib (GH-19801) #19808

Merged
merged 1 commit into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/idlelib/autocomplete_w.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import platform

from tkinter import *
from tkinter.ttk import Frame, Scrollbar
from tkinter.ttk import Scrollbar

from idlelib.autocomplete import FILES, ATTRS
from idlelib.multicall import MC_SHIFT
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/config_key.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Dialog for building Tkinter accelerator key bindings
"""
from tkinter import Toplevel, Listbox, Text, StringVar, TclError
from tkinter import Toplevel, Listbox, StringVar, TclError
from tkinter.ttk import Frame, Button, Checkbutton, Entry, Label, Scrollbar
from tkinter import messagebox
import string
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/configdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""
import re

from tkinter import (Toplevel, Listbox, Text, Scale, Canvas,
from tkinter import (Toplevel, Listbox, Scale, Canvas,
StringVar, BooleanVar, IntVar, TRUE, FALSE,
TOP, BOTTOM, RIGHT, LEFT, SOLID, GROOVE,
NONE, BOTH, X, Y, W, E, EW, NS, NSEW, NW,
Expand Down
1 change: 0 additions & 1 deletion Lib/idlelib/idle_test/test_sidebar.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test sidebar, coverage 93%"""
import idlelib.sidebar
from sys import platform
from itertools import chain
import unittest
import unittest.mock
Expand Down
1 change: 0 additions & 1 deletion Lib/idlelib/idle_test/test_squeezer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"Test squeezer, coverage 95%"

from collections import namedtuple
from textwrap import dedent
from tkinter import Text, Tk
import unittest
Expand Down
1 change: 0 additions & 1 deletion Lib/idlelib/textview.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from tkinter.ttk import Frame, Scrollbar, Button
from tkinter.messagebox import showerror

from functools import update_wrapper
from idlelib.colorizer import color_config


Expand Down