Eric V. Smith <e...@trueblade.com> added the comment:
Why would you only want alignment, and not all string formatting options? And if that's the case, just convert it to a string: >>> f'{None!s:>8} {1:>8}' ' None 1' ---------- nosy: +eric.smith _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45165> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com