From 97f042c6badd6599f06bdf0c6427e3417349a2d7 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 31 Mar 2018 14:26:12 +0200 Subject: [PATCH] Remove clutter from the grammar --- parso/python/grammar36.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parso/python/grammar36.txt b/parso/python/grammar36.txt index 7984649..7d112f7 100644 --- a/parso/python/grammar36.txt +++ b/parso/python/grammar36.txt @@ -151,7 +151,7 @@ yield_arg: 'from' test | testlist strings: (STRING | fstring)+ fstring: FSTRING_START fstring_content* FSTRING_END -fstring_content: (FSTRING_STRING | fstring_expr) +fstring_content: FSTRING_STRING | fstring_expr fstring_conversion: '!' NAME fstring_expr: '{' testlist [ fstring_conversion ] [ fstring_format_spec ] '}' fstring_format_spec: ':' fstring_content*