https://github.com/python/cpython/commit/c1e1c880eee6cd36fe7fccdd362871b5454186c9
commit: c1e1c880eee6cd36fe7fccdd362871b5454186c9
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com>
date: 2025-08-11T23:37:52Z
summary:

[3.13] gh-131885: Use positional-only markers for ``max()`` and ``min()`` 
(GH-131868) (#137657)

Co-authored-by: Evan Kohilas <ekohi...@users.noreply.github.com>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 9a7b3c4e7c116f..4acc24d352ac67 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1208,9 +1208,9 @@ are always available.  They are listed here in 
alphabetical order.
    already arranged into argument tuples, see :func:`itertools.starmap`\.
 
 
-.. function:: max(iterable, *, key=None)
-              max(iterable, *, default, key=None)
-              max(arg1, arg2, *args, key=None)
+.. function:: max(iterable, /, *, key=None)
+              max(iterable, /, *, default, key=None)
+              max(arg1, arg2, /, *args, key=None)
 
    Return the largest item in an iterable or the largest of two or more
    arguments.
@@ -1246,9 +1246,9 @@ are always available.  They are listed here in 
alphabetical order.
    :ref:`typememoryview` for more information.
 
 
-.. function:: min(iterable, *, key=None)
-              min(iterable, *, default, key=None)
-              min(arg1, arg2, *args, key=None)
+.. function:: min(iterable, /, *, key=None)
+              min(iterable, /, *, default, key=None)
+              min(arg1, arg2, /, *args, key=None)
 
    Return the smallest item in an iterable or the smallest of two or more
    arguments.

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to