From: Neal Norwitz Date: Tue, 26 Mar 2002 16:23:28 +0000 (+0000) Subject: re was already imported in the module, no need to re-import X-Git-Tag: v2.3c1~6323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ae2875336a6af52677eb7292a3416327fff72f9;p=python re was already imported in the module, no need to re-import --- diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 78bdd6ff15..8c6f799aa9 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)