Skip to content

Commit f66895f

Browse files
committed
Updates functions.rst to make iterable positional only
1 parent d87e7f3 commit f66895f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,8 +1220,8 @@ are always available. They are listed here in alphabetical order.
12201220
Added the *strict* parameter.
12211221

12221222

1223-
.. function:: max(iterable, *, key=None)
1224-
max(iterable, *, default, key=None)
1223+
.. function:: max(iterable, /, *, key=None)
1224+
max(iterable, /, *, default, key=None)
12251225
max(arg1, arg2, *args, key=None)
12261226
12271227
Return the largest item in an iterable or the largest of two or more

0 commit comments

Comments
 (0)