3 ms·
> If a single interpolation is expensive to evaluate, it can be explicitly wrapped in a lambda in the template string literal > https://peps.python.org/pep-075
by est 2y ago
> If a single interpolation is expensive to evaluate, it can be explicitly wrapped in a lambda in the template string literal
> https://peps.python.org/pep-0750/#approaches-to-lazy-evaluation https://peps.python.org/pep-0750/#approaches-to-lazy-evaluat...
Hmm, I have a feeling there's a pitfall.