diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex index 443528dc634..1daac6144b0 100644 --- a/Doc/lib/librandom.tex +++ b/Doc/lib/librandom.tex @@ -129,6 +129,7 @@ Functions for sequences: \begin{funcdesc}{choice}{seq} Return a random element from the non-empty sequence \var{seq}. + If \var{seq} is empty, raises \exception{IndexError}. \end{funcdesc} \begin{funcdesc}{shuffle}{x\optional{, random}}