Eric V. Smith added the comment: I think this is documented. This is a result of supported nested expressions in the format_spec:
>>> an_x = "X" >>> f'{10:02{an_x}}' '0A' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28827> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com