]> granicus.if.org Git - python/commitdiff
Patch #444359: Remove unused imports.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 2 Aug 2001 07:15:29 +0000 (07:15 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 2 Aug 2001 07:15:29 +0000 (07:15 +0000)
Lib/ConfigParser.py
Lib/Cookie.py
Lib/codecs.py
Lib/multifile.py
Lib/pipes.py
Lib/pyclbr.py
Lib/sgmllib.py
Lib/urllib2.py

index 5eae972671698665c5ede90cb3136734d2ee0e38..699803d84a5a117ca825afedda35ed8ce463d89b 100644 (file)
@@ -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
 
index 3fc2ffc1dd603532368a63ba4cf9aef0cee7303e..8e596571ada579571dac61949ec6e096c2ec88dd 100644 (file)
@@ -215,7 +215,7 @@ Finis.
 #
 # Import our required modules
 #
-import string, sys
+import string
 from UserDict import UserDict
 
 try:
index ebcec1c2e86924c6d3923275fa3e6aa104e9b0ed..711d67a2610ac21e936aeabc234cced380c870ae 100644 (file)
@@ -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
 
index c3c468a0e6787cbe6d16b1a48f3d4da923f70e79..74c35f0388f0979560fc2bde58134ff90f7b981c 100644 (file)
@@ -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):
index 1e164352844ddfeceb42b6323b562cfc642d63b7..b565654171e928e1e4b5d32ef633ac21a35fd660 100644 (file)
@@ -59,7 +59,6 @@ For an example, see the function test() at the end of the file.
 """                                     # '
 
 
-import sys
 import re
 
 import os
index c9bb2fe2bbb19fe1f9941963b36796ac8e1a95d4..ea42c30f3d8941920eff2154affb5ef918ef7822 100644 (file)
@@ -53,7 +53,6 @@ PACKAGE RELATED BUGS
   exists coded in Python in the freeze package.)
 """
 
-import os
 import sys
 import imp
 import re
index f228e5b2ff8d3fc041fa6b635d2e146abcb15948..f2a302095b633eef745349a447149ad2b461b1fb 100644 (file)
@@ -10,7 +10,6 @@
 
 
 import re
-import string
 
 __all__ = ["SGMLParser"]
 
index ee0bc271c15ccd864dca71cd51f495987b5efea9..5738779a372d1e7edea40a03f6aa03e0b5872f3e 100644 (file)
@@ -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