summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-12-16 18:00:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-12-16 18:00:15 (GMT)
commit70d28a184c42d107cc8c69a95aa52a4469e7929c (patch)
treea22429e07bb587d183a6c62d5b7813f11b7cf4ff /Lib/idlelib
parent5bb8b9134b0bb35a73c76657f41cafa3e4361fcd (diff)
downloadcpython-70d28a184c42d107cc8c69a95aa52a4469e7929c.zip
cpython-70d28a184c42d107cc8c69a95aa52a4469e7929c.tar.gz
cpython-70d28a184c42d107cc8c69a95aa52a4469e7929c.tar.bz2
Remove unused imports.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_macosx.py1
-rw-r--r--Lib/idlelib/idle_test/test_tree.py1
-rw-r--r--Lib/idlelib/macosx.py1
-rw-r--r--Lib/idlelib/stackviewer.py1
4 files changed, 0 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_macosx.py b/Lib/idlelib/idle_test/test_macosx.py
index fae75d8..775697b 100644
--- a/Lib/idlelib/idle_test/test_macosx.py
+++ b/Lib/idlelib/idle_test/test_macosx.py
@@ -4,7 +4,6 @@ Coverage: 71% on Windows.
'''
from idlelib import macosx
from test.support import requires
-import sys
import tkinter as tk
import unittest
import unittest.mock as mock
diff --git a/Lib/idlelib/idle_test/test_tree.py b/Lib/idlelib/idle_test/test_tree.py
index 09ba964..bb597d8 100644
--- a/Lib/idlelib/idle_test/test_tree.py
+++ b/Lib/idlelib/idle_test/test_tree.py
@@ -5,7 +5,6 @@ Coverage: 56%
from idlelib import tree
from test.support import requires
requires('gui')
-import os
import unittest
from tkinter import Tk
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index c225dd9..d4566cd 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -2,7 +2,6 @@
A number of functions that enhance IDLE on Mac OSX.
"""
from sys import platform # Used in _init_tk_type, changed by test.
-import warnings
import tkinter
diff --git a/Lib/idlelib/stackviewer.py b/Lib/idlelib/stackviewer.py
index 0698def..400fa63 100644
--- a/Lib/idlelib/stackviewer.py
+++ b/Lib/idlelib/stackviewer.py
@@ -1,6 +1,5 @@
import linecache
import os
-import re
import sys
import tkinter as tk