On 08/30/2015 09:41 AM, Eric V. Smith wrote:
> I have a complete implementation of PEP 498. I'll shortly create an
> issue and attach the patch to it.
Issue 24965.
Eric.
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/
PEP 498 adds a new string prefix which allows simpler string formatting
by embedding expressions inside string literals. The expressions are
evaluated and inserted into the resulting string value:
>>> import datetime
>>> name = 'Fred'
>>> age = 50
>>> anniversary = datetime.date(1991, 10, 12)
>>>