Closed
Description
Summary
As the title says, any comments between the f-string expr and format spec can get deleted by the formatter if it gets collapsed to one line and there is a #
in the format spec playground
f"{1
# test
:#}"
Formats to
f"{1:#}"
Version
playground