Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updates functions.rst to make iterable positional only
  • Loading branch information
ekohilas committed Apr 12, 2025
commit 1fe4bd56bc825bce73b1bfccb1c81531acc5cf89
4 changes: 2 additions & 2 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1220,8 +1220,8 @@ are always available. They are listed here in alphabetical order.
Added the *strict* parameter.


.. function:: max(iterable, *, key=None)
max(iterable, *, default, 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
Expand Down