Additionally show that a backslash-escaped opening brace is treated as a literal and thus triggers the single closing brace error, clarifying #28590.

This commit is contained in:
Jason R. Coombs 2016-11-06 11:14:48 -05:00
parent 45cab8ccdd
commit da25abf712
1 changed files with 1 additions and 0 deletions

View File

@ -628,6 +628,7 @@ f'{a * x()}'"""
"f'}'",
"f'x}'",
"f'x}x'",
r"f'\u007b}'",
# Can't have { or } in a format spec.
"f'{3:}>10}'",