Skip to content

Commit 3899a06

Browse files
committed
Fix Syntax warning in ts summary.py
1 parent d77abed commit 3899a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ts/misc/summary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
from table_formatter import *
3838
from optparse import OptionParser
3939

40-
numeric_re = re.compile("(\d+)")
41-
cvtype_re = re.compile("(8U|8S|16U|16S|32S|32F|64F)C(\d{1,3})")
40+
numeric_re = re.compile(r"(\d+)")
41+
cvtype_re = re.compile(r"(8U|8S|16U|16S|32S|32F|64F)C(\d{1,3})")
4242
cvtypes = { '8U': 0, '8S': 1, '16U': 2, '16S': 3, '32S': 4, '32F': 5, '64F': 6 }
4343

4444
convert = lambda text: int(text) if text.isdigit() else text

0 commit comments

Comments
 (0)