Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20ca917

Browse files
committed
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.
1 parent 29e5f5d commit 20ca917

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

Doc/lib/libundoc.tex

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ \section{Obsolete}
235235
These modules are not on the standard module search path;
236236
\indexiii{module}{search}{path}
237237
but are available in the directory \file{lib-old/} installed under
238-
\file{\textrm{\$prefix}/lib/python\version/}. To use any of these
238+
\file{\textrm{\$prefix}/lib/python1.5/}. To use any of these
239239
modules, add that directory to \code{sys.path}, possibly using
240240
\envvar{PYTHONPATH}.
241241

@@ -266,6 +266,21 @@ \section{Obsolete}
266266
func.func_name, co.co_firstlineno)
267267
\end{description}
268268

269+
The following modules were documented in previous versions of this
270+
manual, but are now considered obsolete:
271+
272+
\begin{description}
273+
\item[ni]
274+
--- Import modules in ``packages.''
275+
276+
\item[rand]
277+
--- Old interface to the random number generator.
278+
279+
\item[soundex]
280+
--- Algorithm for collapsing names which sound similar to a shared
281+
key. (This is an extension module.)
282+
\end{description}
283+
269284

270285
\section{Extension modules}
271286

Doc/libundoc.tex

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ \section{Obsolete}
235235
These modules are not on the standard module search path;
236236
\indexiii{module}{search}{path}
237237
but are available in the directory \file{lib-old/} installed under
238-
\file{\textrm{\$prefix}/lib/python\version/}. To use any of these
238+
\file{\textrm{\$prefix}/lib/python1.5/}. To use any of these
239239
modules, add that directory to \code{sys.path}, possibly using
240240
\envvar{PYTHONPATH}.
241241

@@ -266,6 +266,21 @@ \section{Obsolete}
266266
func.func_name, co.co_firstlineno)
267267
\end{description}
268268

269+
The following modules were documented in previous versions of this
270+
manual, but are now considered obsolete:
271+
272+
\begin{description}
273+
\item[ni]
274+
--- Import modules in ``packages.''
275+
276+
\item[rand]
277+
--- Old interface to the random number generator.
278+
279+
\item[soundex]
280+
--- Algorithm for collapsing names which sound similar to a shared
281+
key. (This is an extension module.)
282+
\end{description}
283+
269284

270285
\section{Extension modules}
271286

0 commit comments

Comments
 (0)