]> granicus.if.org Git - python/commit
bpo-34149: Behavior of the min/max with key=None (GH-8328)
authorAlexander Marshalov <_@marshalov.org>
Tue, 24 Jul 2018 03:58:21 +0000 (10:58 +0700)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Tue, 24 Jul 2018 03:58:21 +0000 (20:58 -0700)
commite22072fb11246f125aa9ff7629c832b9e2407ef0
tree8cbe81568e233643182d0c952b62c6fdf3ba060a
parentbde782bb594edffeabe978abeee2b7082ab9bc2a
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().
Doc/library/functions.rst
Lib/heapq.py
Lib/test/test_builtin.py
Misc/NEWS.d/next/Core and Builtins/2018-07-23-21-49-05.bpo-34149.WSV-_g.rst [new file with mode: 0644]
Python/bltinmodule.c