8000 gh-131885: Updates docs to make max and min iterable param positional only by ekohilas · Pull Request #131868 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-131885: Updates docs to make max and min iterable param positional only #131868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
Prev Previous commit
revert
  • Loading branch information
ekohilas committed Apr 12, 2025
commit 2e26c237c905fd1181178cc9d4495b1a5e2a0a08
4 changes: 2 additions & 2 deletions Python/bltinmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ builtin_min(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *k
}

PyDoc_STRVAR(min_doc,
"min(iterable, /, *[, default=obj, key=func]) -> value\n\
"min(iterable, *[, default=obj, key=func]) -> value\n\
min(arg1, arg2, *args, *[, key=func]) -> value\n\
\n\
With a single iterable argument, return its smallest item. The\n\
Expand All @@ -2036,7 +2036,7 @@ builtin_max(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *k
}

PyDoc_STRVAR(max_doc,
"max(iterable, /, *[, default=obj, key=func]) -> value\n\
"max(iterable, *[, default=obj, key=func]) -> value\n\
max(arg1, arg2, *args, *[, key=func]) -> value\n\
\n\
With a single iterable argument, return its biggest item. The\n\
Expand Down
Loading
0