17 Sep
2020
17 Sep
'20
12:59 p.m.
On Thu, 17 Sep 2020 at 13:38, Dennis Sweeney <sweeney.dennis650@gmail.com> wrote:
TL;DR: I propose the following behavior:
>>> s = "She turned me into a newt." >>> f"She turned me into a {animal}." = s >>> animal 'newt'
Something very similar to this already exists on PyPI: https://pypi.org/project/parse/ I don't have a strong opinion on whether it would be useful in the stdlib, other than to say that I've never personally used it, so it's not that significant a need for me. Paul