From: Guido van Rossum Date: Wed, 25 Nov 1998 18:53:05 +0000 (+0000) Subject: Clarify that min and max also take multiple arguments. X-Git-Tag: v1.5.2b1~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5eabf3823bafa081f7089965389b9908b4b3684d;p=thirdparty%2FPython%2Fcpython.git Clarify that min and max also take multiple arguments. --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 38e073f5b243..d7ee837063f0 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -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}