Fix fstring format spec parsing, fixes #74

This commit is contained in:
Dave Halter
2019-06-02 15:18:42 +02:00
parent 4f5fdd5a70
commit 917b4421f3
2 changed files with 22 additions and 5 deletions

View File

@@ -21,6 +21,9 @@ def grammar():
'{1:1.{32}}',
'{1::>4}',
'{foo} {bar}',
'{x:{y}}',
'{x:{y:}}',
'{x:{y:1}}',
# Escapes
'{{}}',