A \begin{funcdesc} was closed with an \end{methoddesc}.
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex
index 76c0685..82a55e6 100644
--- a/Doc/lib/librandom.tex
+++ b/Doc/lib/librandom.tex
@@ -43,7 +43,7 @@
   the seed is derived from the current system time.
   The seed is also set from the current system time when
   the module is first imported.
-\end{methoddesc}
+\end{funcdesc}
 
 \begin{funcdesc}{choice}{seq}
   Return a random element from the non-empty sequence \var{seq}.