Raymond Hettinger <[email protected]> added the comment:
I prefer Terry's original proposal which is backwards compatible and gives the user control over whether separator is to be applied to the fractional component. >>> format(12_34_56.12_34_56, '_._f') # Whole and fractional '123_456.123_456' >>> format(12_34_56.12_34_56, '_.f') # Fractional component only '123_456.123456' ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue43624> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
