mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-12 08:00:11 +08:00
Fix fstring format spec parsing, fixes #74
This commit is contained in:
1 parent
4f5fdd5a70
commit
917b4421f3
2 files changed
+22
-5
No files matched your search
@@ -21,6 +21,9 @@ def grammar():
|
||||
'{1:1.{32}}',
|
||||
'{1::>4}',
|
||||
'{foo} {bar}',
|
||||
'{x:{y}}',
|
||||
'{x:{y:}}',
|
||||
'{x:{y:1}}',
|
||||
|
||||
# Escapes
|
||||
'{{}}',
|
||||
|
||||
Reference in new issue
Block a user