|
|
|
|
|
by notpushkin
432 days ago
|
|
> An early version of this PEP proposed that interpolations should be lazily evaluated. [...] This was rejected for several reasons [...] Bummer. This could have been so useful: statement_endpoint: Final = "/api/v2/accounts/{iban}/statement"
(Though str.format isn’t really that bad here either.) |
|
There are a lot of existing workarounds in the discussions if you are interested enough in using it, such as using lambdas and t-strings together.