Skip to content

Commit c5d4423

Browse files
authored
Merge pull request #1271 from DimitriPapadopoulos/pyupgrade
MNT: Use raw string to avoid escaping '\'
2 parents f815aba + 0fb584b commit c5d4423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gitwash_dumper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def main():
223223
out_path,
224224
cp_globs=(pjoin('gitwash', '*'),),
225225
rep_globs=('*.rst',),
226-
renames=(('\.rst$', options.source_suffix),),
226+
renames=((r'\.rst$', options.source_suffix),),
227227
)
228228
make_link_targets(
229229
project_name,

0 commit comments

Comments
 (0)