mirror of
https://github.com/python/cpython
synced 2026-09-29 11:10:30 +03:00
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.
This commit is contained in:
parent
29e5f5d81f
commit
20ca9171c1
2 changed files with 32 additions and 2 deletions
|
|
@ -235,7 +235,7 @@ library
|
|||
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 @@ code object (these are now accessible as attributes: co.co_name,
|
|||
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}
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ library
|
|||
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 @@ code object (these are now accessible as attributes: co.co_name,
|
|||
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}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue