mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
re was already imported in the module, no need to re-import
This commit is contained in:
parent
f261223ccd
commit
1ae2875336
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue