comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
- 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
(with some slight formatting changes).
Feature requests:
- Make it a class (everything should be a class);
- support recursive data structures (like pp.py on the ftp contrib site).