[issue45959] Teach pprint about dict views

Raymond Hettinger report at bugs.python.org
Wed Dec 15 16:07:12 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

More accurate to say that it aspires to print in a single line ONLY if the content fits in the specified width.  Otherwise, it prints vertically with appropriate indentation.  Indeed, that is the entire purpose of the module; otherwise, we would just use print() which always writes one line.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45959>
_______________________________________


More information about the Python-bugs-list mailing list