diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
commit | 1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch) | |
tree | 260789493c7151408f009eaa84a7815ce4d28246 /Doc/libimp.tex | |
parent | dc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff) | |
download | cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2 |
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/libimp.tex')
-rw-r--r-- | Doc/libimp.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libimp.tex b/Doc/libimp.tex index 0ba0770..5ad2fff 100644 --- a/Doc/libimp.tex +++ b/Doc/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 |