Commit 5eabf382 authored by Guido van Rossum's avatar Guido van Rossum

Clarify that min and max also take multiple arguments.

parent 1e42d8aa
......@@ -363,14 +363,16 @@ consisting of tuples containing the corresponding items from all lists
any kind of sequence; the result is always a list.
\end{funcdesc}
\begin{funcdesc}{max}{s}
Return the largest item of a non-empty sequence (string, tuple or
list).
\begin{funcdesc}{max}{s\optional{, args...}}
With a single argument \var{s}, return the largest item of a
non-empty sequence (e.g., a string, tuple or list). With more than
one argument, return the largest of the arguments.
\end{funcdesc}
\begin{funcdesc}{min}{s}
Return the smallest item of a non-empty sequence (string, tuple or
list).
\begin{funcdesc}{min}{s\optional{, args...}}
With a single argument \var{s}, return the smallest item of a
non-empty sequence (e.g., a string, tuple or list). With more than
one argument, return the smallest of the arguments.
\end{funcdesc}
\begin{funcdesc}{oct}{x}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment