On 9 November 2016 at 16:20, Fabio Zadrozny <fabi...@gmail.com> wrote:
> Also, as a feedback, I found it a bit odd that there can't be any space nor
> new line between the last format specifiers and '}'

FWIW, that is the case for normal format strings, as well:

>>> print("{!r\n}".format(12))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: expected ':' after conversion specifier

I guess the behaviour is simply inherited from there.

Paul
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to