Skip to content
Snippets Groups Projects
Commit 6669513f authored by Michael Hudson-Doyle's avatar Michael Hudson-Doyle
Browse files

make some regexps raw strings

to avoid DeprecationWarnings with Python 3.6
parent 06cd421a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,8 +6,8 @@ import re
PyCF_ONLY_AST = 1024
 
IS_PY3 = sys.version_info[0] == 3
IS_PY3_TEST = re.compile("^#\s*python3\s*only")
IS_PY2_TEST = re.compile("^#\s*python2\s*only")
IS_PY3_TEST = re.compile(r"^#\s*python3\s*only")
IS_PY2_TEST = re.compile(r"^#\s*python2\s*only")
 
 
def main():
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment