Eric V. Smith <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue45165>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com