Nested f-strings
I don’t think formatted string literals allowing nesting (by nesting, I take it to mean f'{f”..”}’) is a result of careful consideration of possible use cases, I’m more convinced it’s just allowed in order for them to conform with their specification. The specification states that they support full Python expressions* inside brackets. It’s also stated … Read more