Commit da25abf7 authored by Jason R. Coombs's avatar Jason R. Coombs

Additionally show that a backslash-escaped opening brace is treated as a...

Additionally show that a backslash-escaped opening brace is treated as a literal and thus triggers the single closing brace error, clarifying #28590.
parent 45cab8cc
...@@ -628,6 +628,7 @@ f'{a * x()}'""" ...@@ -628,6 +628,7 @@ f'{a * x()}'"""
"f'}'", "f'}'",
"f'x}'", "f'x}'",
"f'x}x'", "f'x}x'",
r"f'\u007b}'",
# Can't have { or } in a format spec. # Can't have { or } in a format spec.
"f'{3:}>10}'", "f'{3:}>10}'",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment