[Python-Dev] pprint and list/tuple/dict subclasses (original) (raw)
Walter Dörwald walter at livinglogic.de
Wed Dec 3 15:27:46 EST 2003
- Previous message: [Python-Dev] pprint and list/tuple/dict subclasses
- Next message: [Python-Dev] pprint and list/tuple/dict subclasses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] pprint and list/tuple/dict subclasses
- Next message: [Python-Dev] pprint and list/tuple/dict subclasses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]