diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-03-05 04:52:22 +0200 |
---|---|---|
committer | Eli Bendersky <eliben@users.noreply.github.com> | 2017-03-04 18:52:22 -0800 |
commit | 2129f5fb1ec2d06000f10c96510874c5303d9f8c (patch) | |
tree | 27b0d07899f6cdea615b79d90d0db1b418bd18c1 /examples | |
parent | 69bca70ea145ac81f6b950a741f5e08183d3e0fa (diff) | |
download | pycparser-2129f5fb1ec2d06000f10c96510874c5303d9f8c.tar.gz |
Python 3.6 invalid escape sequence deprecation fixes (#177)
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c_json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c_json.py b/examples/c_json.py index 3bfef5b..2b33360 100644 --- a/examples/c_json.py +++ b/examples/c_json.py @@ -49,7 +49,7 @@ from pycparser import parse_file, c_ast from pycparser.plyparser import Coord -RE_CHILD_ARRAY = re.compile('(.*)\[(.*)\]') +RE_CHILD_ARRAY = re.compile(r'(.*)\[(.*)\]') RE_INTERNAL_ATTR = re.compile('__.*__') |