summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-11-25 18:53:05 (GMT)
committerGuido van Rossum <guido@python.org>1998-11-25 18:53:05 (GMT)
commit5eabf3823bafa081f7089965389b9908b4b3684d (patch)
tree8cfd710a1b36cc3efda741e23f1bfa0159b11511 /Doc/lib/libfuncs.tex
parent1e42d8aaabb20dd2d9b00368eec6aef3e5e41f77 (diff)
downloadcpython-5eabf3823bafa081f7089965389b9908b4b3684d.zip
cpython-5eabf3823bafa081f7089965389b9908b4b3684d.tar.gz
cpython-5eabf3823bafa081f7089965389b9908b4b3684d.tar.bz2
Clarify that min and max also take multiple arguments.
Diffstat (limited to 'Doc/lib/libfuncs.tex')
-rw-r--r--Doc/lib/libfuncs.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 38e073f..d7ee837 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}