Commit 52494ac3 authored by Stefan Behnel's avatar Stefan Behnel

Fix some Python warnings about unknown/unnecessary string escape sequences.

parent fd36ee4a
......@@ -12,14 +12,14 @@ import re
import operator
path_tokenizer = re.compile(
"("
"'[^']*'|\"[^\"]*\"|"
"//?|"
"\(\)|"
"==?|"
"[/.*\[\]\(\)@])|"
"([^/\[\]\(\)@=\s]+)|"
"\s+"
r"("
r"'[^']*'|\"[^\"]*\"|"
r"//?|"
r"\(\)|"
r"==?|"
r"[/.*\[\]()@])|"
r"([^/\[\]()@=\s]+)|"
r"\s+"
).findall
def iterchildren(node, attr_name):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment