Skip to content

Commit d8ab53c

Browse files
committed
whatsnew
1 parent a6f7836 commit d8ab53c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,13 @@ argparse
424424
default to ``True``. This enables suggestions for mistyped arguments by default.
425425
(Contributed by Jakob Schluse in :gh:`140450`.)
426426

427+
builtins
428+
--------
429+
* :func:`sorted` and :meth:`list.sort` now accept *keylist* argument,
430+
which takes :class:`list` object by the keys of which the sorting takes place.
431+
*keylist* argument is sorted in-place (i.e. is modified).
432+
(Contributed by Dominykas Grigonis in :gh:`142105`.)
433+
427434
calendar
428435
--------
429436

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:func:`sorted` and :meth:`list.sort` now accept *keylist* argument, which takes :class:`list` object by the keys of which the sorting takes place. Provided :class:`list` object is sorted in-place (i.e. the *keylist* itself is modified).
1+
:func:`sorted` and :meth:`list.sort` now accept *keylist* argument, which takes :class:`list` object by the keys of which the sorting takes place. *keylist* argument is sorted in-place (i.e. is modified).

0 commit comments

Comments
 (0)