Eric V. Smith <e...@trueblade.com> added the comment:
'n' is defined as the same as 'g', for floats (modulo the locale-specific characters, of course): >>> format(1.89, '.2n') '1.9' >>> format(1.89, '.2g') '1.9' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33730> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com