summaryrefslogtreecommitdiff
path: root/Tools/idle
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-09-12 20:29:56 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-09-12 20:29:56 +0000
commit85d7807a8d71aaaafc785ae72715836ddc3cbe7f (patch)
treec178f95b176b1d716240b6388334c4a7d548e7c8 /Tools/idle
parenta434524b6343dee9af500d486fa4445ca7e88715 (diff)
downloadcpython-85d7807a8d71aaaafc785ae72715836ddc3cbe7f.tar.gz
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 db1e346c55..24af6b0e46 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 d8445a432b..8d35d5c130 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 949a0f86f6..0883597769 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 ed5a9791b8..84cac0ea31 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 724997c010..e6f767102e 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 eadcdea5a1..77d18c2f56 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 784dc907c7..f253b2a984 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