[Python-Dev] pprint and list/tuple/dict subclasses

Walter Dörwald walter at livinglogic.de
Wed Dec 3 14:37:11 EST 2003


Michael Hudson wrote:

> 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 :-)

OK, then I'll go ahead and implement that.

Bye,
    Walter Dörwald





More information about the Python-Dev mailing list