Skip to content

Commit d466c43

Browse files
BoboTiGbenjaminp
authored andcommitted
closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411)
1 parent 9a69ae8 commit d466c43

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fixed a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py.
2+
Patch by Mickaël Schoentgen.

Modules/_sha3/cleanup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import re
99

1010
CPP1 = re.compile("^//(.*)")
11-
CPP2 = re.compile("\ //(.*)")
11+
CPP2 = re.compile(r"\ //(.*)")
1212

1313
STATICS = ("void ", "int ", "HashReturn ",
1414
"const UINT64 ", "UINT16 ", " int prefix##")

0 commit comments

Comments
 (0)