summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-08-02 07:15:29 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-08-02 07:15:29 (GMT)
commit02d893cfae830d4ef997095dc6e2786f8b63d2e3 (patch)
treebcb706b8d3ac39d891f270307d50b0f0f49c0990 /Lib
parentd429ab6df9813cc641d5893eab7d8d5700e7f968 (diff)
downloadcpython-02d893cfae830d4ef997095dc6e2786f8b63d2e3.zip
cpython-02d893cfae830d4ef997095dc6e2786f8b63d2e3.tar.gz
cpython-02d893cfae830d4ef997095dc6e2786f8b63d2e3.tar.bz2
Patch #444359: Remove unused imports.
Diffstat (limited to 'Lib')
-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