Don't assume that \version expands to the 3-character major.minor number; it
is the full release version name ("1.5.1beta1", for instance).

Add section for previously documented obsolete modules.  Includes ni, rand,
and soundex.
diff --git a/Doc/lib/libundoc.tex b/Doc/lib/libundoc.tex
index b7daaf3..0db5e8c 100644
--- a/Doc/lib/libundoc.tex
+++ b/Doc/lib/libundoc.tex
@@ -235,7 +235,7 @@
 These modules are not on the standard module search path;
 \indexiii{module}{search}{path}
 but are available in the directory \file{lib-old/} installed  under
-\file{\textrm{\$prefix}/lib/python\version/}.  To use any of these
+\file{\textrm{\$prefix}/lib/python1.5/}.  To use any of these
 modules, add that directory to \code{sys.path}, possibly using
 \envvar{PYTHONPATH}.
 
@@ -266,6 +266,21 @@
 func.func_name, co.co_firstlineno)
 \end{description}
 
+The following modules were documented in previous versions of this
+manual, but are now considered obsolete:
+
+\begin{description}
+\item[ni]
+--- Import modules in ``packages.''
+
+\item[rand]
+--- Old interface to the random number generator.
+
+\item[soundex]
+--- Algorithm for collapsing names which sound similar to a shared
+key.  (This is an extension module.)
+\end{description}
+
 
 \section{Extension modules}