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 ...@@ -12,14 +12,14 @@ import re
import operator import operator
path_tokenizer = re.compile( path_tokenizer = re.compile(
"(" r"("
"'[^']*'|\"[^\"]*\"|" r"'[^']*'|\"[^\"]*\"|"
"//?|" r"//?|"
"\(\)|" r"\(\)|"
"==?|" r"==?|"
"[/.*\[\]\(\)@])|" r"[/.*\[\]()@])|"
"([^/\[\]\(\)@=\s]+)|" r"([^/\[\]()@=\s]+)|"
"\s+" r"\s+"
).findall ).findall
def iterchildren(node, attr_name): 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