summaryrefslogtreecommitdiffstats
path: root/Tools/idle
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-09-12 20:29:56 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-09-12 20:29:56 (GMT)
commita59ab05fda5000fcb37b2202b8bb866b8d92b806 (patch)
tree2015ec93734b6b4fe59eb10800ccce2090e7d57d /Tools/idle
parent4ef1103b7166d5bd09303c8bf0de988c8015fecf (diff)
downloadcpython-a59ab05fda5000fcb37b2202b8bb866b8d92b806.zip
cpython-a59ab05fda5000fcb37b2202b8bb866b8d92b806.tar.gz
cpython-a59ab05fda5000fcb37b2202b8bb866b8d92b806.tar.bz2
Remove unnecessary imports
Diffstat (limited to 'Tools/idle')
-rw-r--r--Tools/idle/CallTipWindow.py1
-rw-r--r--Tools/idle/CallTips.py1
-rw-r--r--Tools/idle/Debugger.py1
-rw-r--r--Tools/idle/GrepDialog.py2
-rw-r--r--Tools/idle/RemoteInterp.py1
-rw-r--r--Tools/idle/ToolTip.py1
-rw-r--r--Tools/idle/eventparse.py3
7 files changed, 0 insertions, 10 deletions
diff --git a/Tools/idle/CallTipWindow.py b/Tools/idle/CallTipWindow.py
index db1e346..24af6b0 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 d8445a4..8d35d5c 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 949a0f8..0883597 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 ed5a979..84cac0e 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 724997c..e6f7671 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 eadcdea..77d18c2 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 784dc90..f253b2a 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