summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRémi Lapeyre <remi.lapeyre@henki.fr>2019-03-22 17:22:20 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-03-22 17:22:20 (GMT)
commit96831c7fcf888af187bbae8254608cccb4d6a03c (patch)
tree6f3c58afe8aeea2e3991a8bccdc6d0a63253625f /Misc
parentc5c6cdada3d41148bdeeacfe7528327b481c5d18 (diff)
downloadcpython-96831c7fcf888af187bbae8254608cccb4d6a03c.zip
cpython-96831c7fcf888af187bbae8254608cccb4d6a03c.tar.gz
cpython-96831c7fcf888af187bbae8254608cccb4d6a03c.tar.bz2
bpo-30670: Add pp function to the pprint module (GH-11769)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-02-06-12-07-46.bpo-30670.yffB3F.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-02-06-12-07-46.bpo-30670.yffB3F.rst b/Misc/NEWS.d/next/Library/2019-02-06-12-07-46.bpo-30670.yffB3F.rst
new file mode 100644
index 0000000..63cdbb3
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-02-06-12-07-46.bpo-30670.yffB3F.rst
@@ -0,0 +1,4 @@
+`pprint.pp` has been added to pretty-print objects with dictionary
+keys being sorted with their insertion order by default. Parameter
+*sort_dicts* has been added to `pprint.pprint`, `pprint.pformat` and
+`pprint.PrettyPrinter`. Contributed by Rémi Lapeyre.