Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I still can't fathom a use case for nesting f-strings within an f-string substitution

Isn't that mostly just a side effect of using the proper full python parser for F-strings? The syntax for what was allowed inside an F-string kept getting more and more permissive, until they just decided to permit ~all of python inside an F-string.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: