summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-12-03 20:26:05 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-12-03 20:26:05 (GMT)
commitc8de4585a6e52e1186828dd929671d3a6c36db95 (patch)
treeb3e5ad74c31c3bb634828a121f7b7d9919fabdb3 /Misc/NEWS
parent7a7ede54d4311d3bcb5000aeedeab8cc80391c70 (diff)
downloadcpython-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/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c21a6c6..78118cf 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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__().