diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2017-03-03 00:52:59 +0000 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2017-03-03 00:52:59 +0000 |
commit | 2a15a07e755b2acb18b76d87105253dc420acce8 (patch) | |
tree | 48d7b23cbcf588ba9cb0842fe624d8bbcc3280e3 /src/examples/pythonGrammarParser.py | |
parent | af93d51cf83fb6ff2e9bcbff56133a42d0ac31f9 (diff) | |
download | pyparsing-git-2a15a07e755b2acb18b76d87105253dc420acce8.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)
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
|