From 2a15a07e755b2acb18b76d87105253dc420acce8 Mon Sep 17 00:00:00 2001 From: Paul McGuire Date: Fri, 3 Mar 2017 00:52:59 +0000 Subject: Fix deprecated use of '\' as described in https://bugs.python.org/issue27364 (Deprecated in Python 3.6, will become SyntaxError in a future release) --- src/examples/pythonGrammarParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/examples/pythonGrammarParser.py') 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 -- cgit v1.2.1