From b0783b9bbe8e9371e4d1d44d9968c5a61e8b7859 Mon Sep 17 00:00:00 2001 From: Karthikeyan Singaravelan Date: Sat, 11 Apr 2020 14:17:36 +0000 Subject: [PATCH] Fix deprecation warning regarding invalid escape sequences. --- bindings/gen_enc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/gen_enc.py b/bindings/gen_enc.py index 406cff5..7dbf305 100644 --- a/bindings/gen_enc.py +++ b/bindings/gen_enc.py @@ -19,7 +19,7 @@ s = open('../../public/encodings.h').read() -r = re.compile('\s*(.*?)\s+=\s*(\d+),') +r = re.compile(r'\s*(.*?)\s+=\s*(\d+),') l = [] for line in s.split('\n'): line = line.strip()