summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/ConfigParser.py1
-rw-r--r--Lib/Cookie.py2
-rw-r--r--Lib/codecs.py2
-rw-r--r--Lib/multifile.py2
-rw-r--r--Lib/pipes.py1
-rw-r--r--Lib/pyclbr.py1
-rw-r--r--Lib/sgmllib.py1
-rw-r--r--Lib/urllib2.py1
8 files changed, 2 insertions, 9 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py
index 5eae972..699803d 100644
--- a/Lib/ConfigParser.py
+++ b/Lib/ConfigParser.py
@@ -85,7 +85,6 @@ ConfigParser -- responsible for for parsing a list of
write the configuration state in .ini format
"""
-import sys
import string
import re
diff --git a/Lib/Cookie.py b/Lib/Cookie.py
index 3fc2ffc..8e59657 100644
--- a/Lib/Cookie.py
+++ b/Lib/Cookie.py
@@ -215,7 +215,7 @@ Finis.
#
# Import our required modules
#
-import string, sys
+import string
from UserDict import UserDict
try:
diff --git a/Lib/codecs.py b/Lib/codecs.py
index ebcec1c..711d67a 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -7,7 +7,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
"""#"
-import struct, types, __builtin__
+import struct, __builtin__
### Registry and builtin stateless codec functions
diff --git a/Lib/multifile.py b/Lib/multifile.py
index c3c468a..74c35f0 100644
--- a/Lib/multifile.py
+++ b/Lib/multifile.py
@@ -27,8 +27,6 @@ current file part. This may be useful when using MultiFile with a non-
seekable stream object.
"""
-import sys
-
__all__ = ["MultiFile","Error"]
class Error(Exception):
diff --git a/Lib/pipes.py b/Lib/pipes.py
index 1e16435..b565654 100644
--- a/Lib/pipes.py
+++ b/Lib/pipes.py
@@ -59,7 +59,6 @@ For an example, see the function test() at the end of the file.
""" # '
-import sys
import re
import os
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py
index c9bb2fe..ea42c30 100644
--- a/Lib/pyclbr.py
+++ b/Lib/pyclbr.py
@@ -53,7 +53,6 @@ PACKAGE RELATED BUGS
exists coded in Python in the freeze package.)
"""
-import os
import sys
import imp
import re
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py
index f228e5b2..f2a3020 100644
--- a/Lib/sgmllib.py
+++ b/Lib/sgmllib.py
@@ -10,7 +10,6 @@
import re
-import string
__all__ = ["SGMLParser"]
diff --git a/Lib/urllib2.py b/Lib/urllib2.py
index ee0bc27..5738779 100644
--- a/Lib/urllib2.py
+++ b/Lib/urllib2.py
@@ -88,7 +88,6 @@ f = urllib2.urlopen('http://www.python.org/')
# check digest against correct (i.e. non-apache) implementation
import socket
-import UserDict
import httplib
import re
import base64