diff options
author | Alexander Marshalov <_@marshalov.org> | 2018-07-24 03:58:21 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-07-24 03:58:21 (GMT) |
commit | e22072fb11246f125aa9ff7629c832b9e2407ef0 (patch) | |
tree | 8cbe81568e233643182d0c952b62c6fdf3ba060a /Doc | |
parent | bde782bb594edffeabe978abeee2b7082ab9bc2a (diff) | |
download | cpython-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 'Doc')
-rw-r--r-- | Doc/library/functions.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 68a5dce..e52b090 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -869,6 +869,9 @@ are always available. They are listed here in alphabetical order. .. versionadded:: 3.4 The *default* keyword-only argument. + .. versionchanged:: 3.8 + The *key* can be ``None``. + .. _func-memoryview: .. function:: memoryview(obj) @@ -903,6 +906,9 @@ are always available. They are listed here in alphabetical order. .. versionadded:: 3.4 The *default* keyword-only argument. + .. versionchanged:: 3.8 + The *key* can be ``None``. + .. function:: next(iterator[, default]) |