Skip to content

Commit 6d04bc9

Browse files
closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411)
(cherry picked from commit d466c43) Co-authored-by: Mickaël Schoentgen <[email protected]>
1 parent d634abd commit 6d04bc9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
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‎

Lines changed: 1 addition & 1 deletion
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)