Incorrect syntax highlighting for f-strings directly containing set or dict literals
Open
- Dominant language
- Python
- Stars
- 16.8k
- Forks
- 4.5k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 6
Description
IPython 8.11.0
To reproduce, type `f"{{1: 2}}"` or `f"{{1}}"`. The `1: 2` and `1` are colored the same as the string literal.

Contributor guide
Assessment
This issue has not been assessed yet.