diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-10 22:00:03 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-10 22:00:03 (GMT) |
commit | 2c4f554b7863ac47b8e10dd4a942bb7bc3e6b3e3 (patch) | |
tree | becacb0e5705244d69459c0a3057b3f5ec64ab0f /Doc/lib/libimp.tex | |
parent | e693df94ed50e5083742b8c3bcb490c6b7fe03ac (diff) | |
download | cpython-2c4f554b7863ac47b8e10dd4a942bb7bc3e6b3e3.zip cpython-2c4f554b7863ac47b8e10dd4a942bb7bc3e6b3e3.tar.gz cpython-2c4f554b7863ac47b8e10dd4a942bb7bc3e6b3e3.tar.bz2 |
Fixed a large number of small problems, mostly noted by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
Diffstat (limited to 'Doc/lib/libimp.tex')
-rw-r--r-- | Doc/lib/libimp.tex | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex index 4c66736..10b6253 100644 --- a/Doc/lib/libimp.tex +++ b/Doc/lib/libimp.tex @@ -70,14 +70,14 @@ Load a module that was previously found by \function{find_module()} (or by an otherwise conducted search yielding compatible results). This function does more than importing the module: if the module was already imported, it is equivalent to a -\function{reload()}\bifuncindex{reload}! The -\var{name} argument indicates the full module name (including the -package name, if this is a submodule of a package). The \var{file} -argument is an open file, and \var{filename} is the corresponding -file name; these can be \code{None} and \code{''}, respectively, when -the module is not being loaded from a file. The \var{description} -argument is a tuple as returned by \function{find_module()} describing -what kind of module must be loaded. +\function{reload()}\bifuncindex{reload}! The \var{name} argument +indicates the full module name (including the package name, if this is +a submodule of a package). The \var{file} argument is an open file, +and \var{filename} is the corresponding file name; these can be +\code{None} and \code{''}, respectively, when the module is not being +loaded from a file. The \var{description} argument is a tuple, as +would be returned by \function{get_suffixes()}, describing what kind +of module must be loaded. If the load is successful, the return value is the module object; otherwise, an exception (usually \exception{ImportError}) is raised. |