Commit 5148f0b
authored
utils/compare.py: Fix syntax warning on python 3.12 (#96)
As of Python 3.12 there's now a syntax warning for invalid escape sequences:
./utils/compare.py:195: SyntaxWarning: invalid escape sequence '\g'
This fixes it by using a raw string literal, as recommended here:
https://docs.python.org/3/library/re.html1 parent b2c5007 commit 5148f0b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments