summaryrefslogtreecommitdiff
path: root/logilab/common/xmlutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/xmlutils.py')
-rw-r--r--logilab/common/xmlutils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/logilab/common/xmlutils.py b/logilab/common/xmlutils.py
index 14e3762..93224fb 100644
--- a/logilab/common/xmlutils.py
+++ b/logilab/common/xmlutils.py
@@ -29,10 +29,10 @@ instruction and return a Python dictionary.
__docformat__ = "restructuredtext en"
import re
-from typing import Dict, Optional, Union
+from typing import Dict, Optional
-RE_DOUBLE_QUOTE = re.compile('([\w\-\.]+)="([^"]+)"')
-RE_SIMPLE_QUOTE = re.compile("([\w\-\.]+)='([^']+)'")
+RE_DOUBLE_QUOTE = re.compile(r'([\w\-\.]+)="([^"]+)"')
+RE_SIMPLE_QUOTE = re.compile(r"([\w\-\.]+)='([^']+)'")
def parse_pi_data(pi_data: str) -> Dict[str, Optional[str]]: