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

Walter Dörwald walter at livinglogic.de
Wed Dec 3 15:27:46 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 :-)

Done. (And patch #750542 too)

Bye,
    Walter Dörwald





More information about the Python-Dev mailing list