mirror of
https://github.com/python/cpython.git
synced 2025-11-13 07:26:31 +00:00
Clarify that min and max also take multiple arguments.
This commit is contained in:
parent
1e42d8aaab
commit
5eabf3823b
1 changed files with 8 additions and 6 deletions
|
|
@ -363,14 +363,16 @@ consisting of tuples containing the corresponding items from all lists
|
||||||
any kind of sequence; the result is always a list.
|
any kind of sequence; the result is always a list.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{max}{s}
|
\begin{funcdesc}{max}{s\optional{, args...}}
|
||||||
Return the largest item of a non-empty sequence (string, tuple or
|
With a single argument \var{s}, return the largest item of a
|
||||||
list).
|
non-empty sequence (e.g., a string, tuple or list). With more than
|
||||||
|
one argument, return the largest of the arguments.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{min}{s}
|
\begin{funcdesc}{min}{s\optional{, args...}}
|
||||||
Return the smallest item of a non-empty sequence (string, tuple or
|
With a single argument \var{s}, return the smallest item of a
|
||||||
list).
|
non-empty sequence (e.g., a string, tuple or list). With more than
|
||||||
|
one argument, return the smallest of the arguments.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{oct}{x}
|
\begin{funcdesc}{oct}{x}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue