diff options
author | ptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b> | 2017-03-03 00:52:59 +0000 |
---|---|---|
committer | ptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b> | 2017-03-03 00:52:59 +0000 |
commit | 2cf33fcefb1dace6ec1d714368c20aaf89656692 (patch) | |
tree | 48d7b23cbcf588ba9cb0842fe624d8bbcc3280e3 /src/examples/pythonGrammarParser.py | |
parent | 5c11d34e6d837648cfae2e9728a190c134915ccb (diff) | |
download | pyparsing-2cf33fcefb1dace6ec1d714368c20aaf89656692.tar.gz |
Fix deprecated use of '\' as described in https://bugs.python.org/issue27364 (Deprecated in Python 3.6, will become SyntaxError in a future release)
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@457 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
Diffstat (limited to 'src/examples/pythonGrammarParser.py')
-rw-r--r-- | src/examples/pythonGrammarParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/pythonGrammarParser.py b/src/examples/pythonGrammarParser.py index f0631b8..f199917 100644 --- a/src/examples/pythonGrammarParser.py +++ b/src/examples/pythonGrammarParser.py @@ -9,7 +9,7 @@ from pyparsing import * # this just skips that step and inlines the bnf text directly - this grammar was taken from
# Python 2.4.1
#
-grammar = """
+grammar = r"""
# Grammar for Python
# Note: Changing the grammar specified in this file will most likely
|