summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:12:32 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:12:32 (GMT)
commitccd047ea4b92f09a84b67e69deb82ce42e510c4c (patch)
tree89663a3917f136919b9b491c22ee76c16afd0b83 /Lib/idlelib
parenta6f26c1d3495670c02c2ceb1e38ada0d468579f7 (diff)
downloadcpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.zip
cpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.tar.gz
cpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.tar.bz2
Removed unused imports.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/help.py4
-rw-r--r--Lib/idlelib/macosxSupport.py1
2 files changed, 2 insertions, 3 deletions
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
index d0c59c5..4cb8c76 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -25,8 +25,8 @@ copy_strip - Copy idle.html to help.html, rstripping each line.
show_idlehelp - Create HelpWindow. Called in EditorWindow.help_dialog.
"""
from html.parser import HTMLParser
-from os.path import abspath, dirname, isdir, isfile, join
-from tkinter import Tk, Toplevel, Frame, Text, Scrollbar, Menu, Menubutton
+from os.path import abspath, dirname, isfile, join
+from tkinter import Toplevel, Frame, Text, Scrollbar, Menu, Menubutton
from tkinter import font as tkfont
from idlelib.configHandler import idleConf
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py
index b96bae1..268426f 100644
--- a/Lib/idlelib/macosxSupport.py
+++ b/Lib/idlelib/macosxSupport.py
@@ -3,7 +3,6 @@ A number of functions that enhance IDLE on Mac OSX.
"""
import sys
import tkinter
-from os import path
import warnings
def runningAsOSXApp():