closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411)

This commit is contained in:
Mickaël Schoentgen 2019-01-02 20:26:57 +01:00 committed by Benjamin Peterson
parent 9a69ae8a78
commit d466c43e55
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
Fixed a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py.
Patch by Mickaël Schoentgen.

View File

@ -8,7 +8,7 @@ import os
import re import re
CPP1 = re.compile("^//(.*)") CPP1 = re.compile("^//(.*)")
CPP2 = re.compile("\ //(.*)") CPP2 = re.compile(r"\ //(.*)")
STATICS = ("void ", "int ", "HashReturn ", STATICS = ("void ", "int ", "HashReturn ",
"const UINT64 ", "UINT16 ", " int prefix##") "const UINT64 ", "UINT16 ", " int prefix##")