[Python-Dev] pprint and list/tuple/dict subclasses
Michael Hudson
mwh at python.net
Wed Dec 3 05:54:59 EST 2003
Walter Dörwald <walter at livinglogic.de> writes:
> The arguments for the PrettyPrinter constructor could
> be exposed in pprint() and pformat():
> """
> import pprint
> print.pprint(foo, indent=3, width=40)
> """
+1e6! I've wanted this for so long I forgot that I could do something
+about it :-)
Cheers,
mwh
--
at any rate, I'm satisfied that not only do they know which end of
the pointy thing to hold, but where to poke it for maximum effect.
-- Eric The Read, asr, on google.com
More information about the Python-Dev
mailing list