diff options
author | Carl Bordum Hansen <carl@bordum.dk> | 2019-06-26 23:13:18 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-26 23:13:18 (GMT) |
commit | 06a8916cf465f139dca958685b0da899364b8a8c (patch) | |
tree | 9109f49858378392227318cb05ad9b0ea1a1052c /Doc/library | |
parent | d52a83a3d471ff3c7e9ebfa1731765e5334f7c24 (diff) | |
download | cpython-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/library')
-rw-r--r-- | Doc/library/pprint.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst index 9abf286..207c3f8 100644 --- a/Doc/library/pprint.rst +++ b/Doc/library/pprint.rst @@ -25,6 +25,9 @@ width constraint. Dictionaries are sorted by key before the display is computed. +.. versionchanged:: 3.9 + Added support for pretty-printing :class:`types.SimpleNamespace`. + The :mod:`pprint` module defines one class: .. First the implementation class: |