diff --git a/Tools/idle/CallTipWindow.py b/Tools/idle/CallTipWindow.py index db1e346c55d..24af6b0e46b 100644 --- a/Tools/idle/CallTipWindow.py +++ b/Tools/idle/CallTipWindow.py @@ -2,7 +2,6 @@ # After ToolTip.py, which uses ideas gleaned from PySol # Used by the CallTips IDLE extension. -import os from Tkinter import * class CallTip: diff --git a/Tools/idle/CallTips.py b/Tools/idle/CallTips.py index d8445a432bf..8d35d5c1305 100644 --- a/Tools/idle/CallTips.py +++ b/Tools/idle/CallTips.py @@ -2,7 +2,6 @@ # displays parameter information as you open parens. import string -import sys import types class CallTips: diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index 949a0f86f68..0883597769c 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/Debugger.py @@ -1,6 +1,5 @@ import os import bdb -import traceback from Tkinter import * from WindowList import ListedToplevel diff --git a/Tools/idle/GrepDialog.py b/Tools/idle/GrepDialog.py index ed5a9791b8b..84cac0ea31a 100644 --- a/Tools/idle/GrepDialog.py +++ b/Tools/idle/GrepDialog.py @@ -1,9 +1,7 @@ import os -import re import fnmatch import sys from Tkinter import * -import tkMessageBox import SearchEngine from SearchDialogBase import SearchDialogBase diff --git a/Tools/idle/RemoteInterp.py b/Tools/idle/RemoteInterp.py index 724997c0103..e6f767102eb 100644 --- a/Tools/idle/RemoteInterp.py +++ b/Tools/idle/RemoteInterp.py @@ -323,7 +323,6 @@ def riExec(id, file): cli.run() if __name__ == "__main__": - import sys import getopt SERVER = 1 diff --git a/Tools/idle/ToolTip.py b/Tools/idle/ToolTip.py index eadcdea5a14..77d18c2f56c 100644 --- a/Tools/idle/ToolTip.py +++ b/Tools/idle/ToolTip.py @@ -1,6 +1,5 @@ # Ideas gleaned from PySol -import os from Tkinter import * class ToolTipBase: diff --git a/Tools/idle/eventparse.py b/Tools/idle/eventparse.py index 784dc907c7b..f253b2a9848 100644 --- a/Tools/idle/eventparse.py +++ b/Tools/idle/eventparse.py @@ -2,10 +2,7 @@ """Parse event definitions out of comments in source files.""" -import re import sys -import os -import getopt import glob import fileinput import pprint