summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAlexander Marshalov <_@marshalov.org>2018-07-24 03:58:21 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-07-24 03:58:21 (GMT)
commite22072fb11246f125aa9ff7629c832b9e2407ef0 (patch)
tree8cbe81568e233643182d0c952b62c6fdf3ba060a /Misc
parentbde782bb594edffeabe978abeee2b7082ab9bc2a (diff)
downloadcpython-e22072fb11246f125aa9ff7629c832b9e2407ef0.zip
cpython-e22072fb11246f125aa9ff7629c832b9e2407ef0.tar.gz
cpython-e22072fb11246f125aa9ff7629c832b9e2407ef0.tar.bz2
bpo-34149: Behavior of the min/max with key=None (GH-8328)
Improve consistency with the signature for sorted(), heapq.nsmallest(), heapq.nlargest(), and itertools.groupby().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-07-23-21-49-05.bpo-34149.WSV-_g.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-07-23-21-49-05.bpo-34149.WSV-_g.rst b/Misc/NEWS.d/next/Core and Builtins/2018-07-23-21-49-05.bpo-34149.WSV-_g.rst
new file mode 100644
index 0000000..9672bcf
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-07-23-21-49-05.bpo-34149.WSV-_g.rst
@@ -0,0 +1 @@
+Fix min and max functions to get default behavior when key is None.