On 2009-05-20 10:37, s...@pobox.com wrote:
>> I cannot get pprint to format output how I would like. pydb does. I
>> tried grepping the source but still couldn't grok it.
That's not the way pprint works. You have no control over how it arranges
its output. If you need something more flexible you'll have to roll your
own.
Or use Armin Ronacher's excellent pretty.py:
http://dev.pocoo.org/hg/sandbox/file/tip/pretty
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list