summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpclib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-26 16:23:28 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-26 16:23:28 (GMT)
commit1ae2875336a6af52677eb7292a3416327fff72f9 (patch)
tree5172345236b3c1fd04026af7940bd8b317b4e871 /Lib/xmlrpclib.py
parentf261223ccda9b9eeeb122e7f90960651d11d07da (diff)
downloadcpython-1ae2875336a6af52677eb7292a3416327fff72f9.zip
cpython-1ae2875336a6af52677eb7292a3416327fff72f9.tar.gz
cpython-1ae2875336a6af52677eb7292a3416327fff72f9.tar.bz2
re was already imported in the module, no need to re-import
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r--Lib/xmlrpclib.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index 78bdd6f..8c6f799 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -353,7 +353,6 @@ else:
self.parser = self.feed = None # nuke circular reference
def handle_proc(self, tag, attr):
- import re
m = re.search("encoding\s*=\s*['\"]([^\"']+)[\"']", attr)
if m:
self.handle_xml(m.group(1), 1)