diff options
author | Walter Dörwald <walter@livinglogic.de> | 2003-12-03 20:26:05 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2003-12-03 20:26:05 (GMT) |
commit | c8de4585a6e52e1186828dd929671d3a6c36db95 (patch) | |
tree | b3e5ad74c31c3bb634828a121f7b7d9919fabdb3 /Misc | |
parent | 7a7ede54d4311d3bcb5000aeedeab8cc80391c70 (diff) | |
download | cpython-c8de4585a6e52e1186828dd929671d3a6c36db95.zip cpython-c8de4585a6e52e1186828dd929671d3a6c36db95.tar.gz cpython-c8de4585a6e52e1186828dd929671d3a6c36db95.tar.bz2 |
Add parameters indent, width and depth to pprint.pprint() and pprint.pformat()
and pass them along to the PrettyPrinter constructor.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -170,6 +170,9 @@ Extension modules Library ------- +- pprint.pprint() and pprint.pformat() now have additional parameters + indent, width and depth. + - Patch #750542: pprint now will pretty print subclasses of list, tuple and dict too, as long as they don't overwrite __repr__(). |