re was already imported in the module, no need to re-import
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 @@
                 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)