Skip to content

Commit 01c268f

Browse files
committed
use raw string literal for regex
1 parent e17faa9 commit 01c268f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbuild/cpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def derive_setup_local(
672672
}
673673

674674

675-
RE_INITTAB_ENTRY = re.compile('\{"([^"]+)", ([^\}]+)\},')
675+
RE_INITTAB_ENTRY = re.compile(r'\{"([^"]+)", ([^\}]+)\},')
676676

677677

678678
def parse_config_c(s: str):

0 commit comments

Comments
 (0)