[issue6743] Add function compatible with print to pprint module

Antoine Pitrou report at bugs.python.org
Wed Apr 3 08:10:00 CEST 2013


Antoine Pitrou added the comment:

> Antoine: the desired behavior is to have a function with the same
> signature as print (so multiple objects to print are supported), but
> which calls pprint.pformat instead of str.

But it can't work. pprint() uses all the width for a single object. How
are you supposed to print multiple objects?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6743>
_______________________________________


More information about the Python-bugs-list mailing list