diff options
| author | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 +0000 |
| commit | 1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch) | |
| tree | 260789493c7151408f009eaa84a7815ce4d28246 /Doc/lib/libimp.tex | |
| parent | dc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff) | |
| download | cpython-git-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz | |
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/lib/libimp.tex')
| -rw-r--r-- | Doc/lib/libimp.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex index 0ba07703ff..5ad2fff29e 100644 --- a/Doc/lib/libimp.tex +++ b/Doc/lib/libimp.tex @@ -7,7 +7,7 @@ This module provides an interface to the mechanisms used to implement the \code{import} statement. It defines the following constants and functions: -\renewcommand{\indexsubitem}{(in module imp)} +\setindexsubitem{(in module imp)} \begin{funcdesc}{get_magic}{} Return the magic string value used to recognize byte-compiled code @@ -206,7 +206,7 @@ up to Python 1.4 (i.e., no hierarchical module names). (This \code{imp.find_module()} has been extended and \code{imp.load_module()} has been added in 1.4.) -\bcode\begin{verbatim} +\begin{verbatim} import imp import sys def __import__(name, globals=None, locals=None, fromlist=None): @@ -227,7 +227,7 @@ def __import__(name, globals=None, locals=None, fromlist=None): # Since we may exit via an exception, close fp explicitly. if fp: fp.close() -\end{verbatim}\ecode +\end{verbatim} A more complete example that implements hierarchical module names and includes a \code{reload()} function can be found in the standard |
