diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-08-02 07:15:29 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-08-02 07:15:29 +0000 |
commit | 02d893cfae830d4ef997095dc6e2786f8b63d2e3 (patch) | |
tree | bcb706b8d3ac39d891f270307d50b0f0f49c0990 /Lib | |
parent | d429ab6df9813cc641d5893eab7d8d5700e7f968 (diff) | |
download | cpython-git-02d893cfae830d4ef997095dc6e2786f8b63d2e3.tar.gz |
Patch #444359: Remove unused imports.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ConfigParser.py | 1 | ||||
-rw-r--r-- | Lib/Cookie.py | 2 | ||||
-rw-r--r-- | Lib/codecs.py | 2 | ||||
-rw-r--r-- | Lib/multifile.py | 2 | ||||
-rw-r--r-- | Lib/pipes.py | 1 | ||||
-rw-r--r-- | Lib/pyclbr.py | 1 | ||||
-rw-r--r-- | Lib/sgmllib.py | 1 | ||||
-rw-r--r-- | Lib/urllib2.py | 1 |
8 files changed, 2 insertions, 9 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index 5eae972671..699803d84a 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 3fc2ffc1dd..8e596571ad 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 ebcec1c2e8..711d67a261 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 c3c468a0e6..74c35f0388 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 1e16435284..b565654171 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 c9bb2fe2bb..ea42c30f3d 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 f228e5b2ff..f2a302095b 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 ee0bc271c1..5738779a37 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 |