python/dist/src/Doc/lib librandom.tex,1.37,1.38

Update of /cvsroot/python/python/dist/src/Doc/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17262 Modified Files: librandom.tex Log Message: SF bug #1033038: Misleading error message in random.choice Added a clarifying line to the docs. Index: librandom.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/librandom.tex,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- librandom.tex 13 Sep 2004 22:23:21 -0000 1.37 +++ librandom.tex 28 Sep 2004 03:04:23 -0000 1.38 @@ -129,6 +129,7 @@ \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}}
participants (1)
-
rhettingerīŧ users.sourceforge.net