summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorCarl Bordum Hansen <carl@bordum.dk>2019-06-26 23:13:18 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-26 23:13:18 (GMT)
commit06a8916cf465f139dca958685b0da899364b8a8c (patch)
tree9109f49858378392227318cb05ad9b0ea1a1052c /Doc/whatsnew
parentd52a83a3d471ff3c7e9ebfa1731765e5334f7c24 (diff)
downloadcpython-06a8916cf465f139dca958685b0da899364b8a8c.zip
cpython-06a8916cf465f139dca958685b0da899364b8a8c.tar.gz
cpython-06a8916cf465f139dca958685b0da899364b8a8c.tar.bz2
bpo-37376: pprint support for SimpleNamespace (GH-14318)
https://bugs.python.org/issue37376
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 780c0a9..379a097 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -111,6 +111,12 @@ threads were never supported in subinterpreters. Previously, the subinterpreter
finalization crashed with a Pyton fatal error if a daemon thread was still
running.
+pprint
+------
+
+:mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`.
+(Contributed by Carl Bordum Hansen in :issue:`37376`.)
+
Optimizations
=============