Eric V. Smith <e...@trueblade.com> added the comment:
Please do not post screen shots. They don't work for people with vision impairments, and we can't copy and past from them, so it makes it harder for us to help you. It looks like it works with pformat, and not pprint: >>> pprint.pformat(10000, underscore_numbers=True) '10_000' >>> pprint.pprint(10000, underscore_numbers=True) 10000 ---------- nosy: +eric.smith _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45557> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com