On 3/30/17, Nick Coghlan <ncogh...@gmail.com> wrote:
> On 31 March 2017 at 00:23, Pavol Lisy <pavol.l...@gmail.com> wrote:
>> Just for curiosity - if PEP-501 will be accepted then how many times
>> could be fnc called in next code?
>>
>>     eval(i'{fnc()}, ' *3)
>
> Once (the same as f-strings), but then it would throw TypeError, as
> unlike strings and other sequences, InterpolationTemplate wouldn't
> define a multiplication operator.
>
> Cheers,
> Nick.

Could you explain the reason behind not implement it, please?

PL
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to