]> granicus.if.org Git - python/commit
Muchly changed and improved pprint.py:
authorFred Drake <fdrake@acm.org>
Wed, 16 Apr 1997 16:59:30 +0000 (16:59 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 16 Apr 1997 16:59:30 +0000 (16:59 +0000)
commita89fda0fe2b494e424f422f12633f9082a146909
tree42432743afddcb1d3de7ad0a3c4f574cdde34946
parentab0d1afdf3f29bbc4e822b75dc93999c61c67b2d
Muchly changed and improved pprint.py:

- handles recursive data structures
- formatting based on a PrettyPrinter object
- allows a maximum nesting depth to be specified
- provides safe repr()-like function which does not pretty-print
Lib/pprint.py