diff options
author | Johannes Gijsbers <jlg@dds.nl> | 2004-08-20 14:38:56 (GMT) |
---|---|---|
committer | Johannes Gijsbers <jlg@dds.nl> | 2004-08-20 14:38:56 (GMT) |
commit | 8e3bec54188b2f650a257c99ba32512bd4f967c3 (patch) | |
tree | 43db0958bdd2f2a43331dc36db90e42c1b323afc /Doc | |
parent | c89061817b4364dd5df4e67e1b3aa8a7bc60c997 (diff) | |
download | cpython-8e3bec54188b2f650a257c99ba32512bd4f967c3.zip cpython-8e3bec54188b2f650a257c99ba32512bd4f967c3.tar.gz cpython-8e3bec54188b2f650a257c99ba32512bd4f967c3.tar.bz2 |
Correct argument specifications of load_compiled and load_source: the file
argument is optional on both (the format string is "ss|O!").
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libimp.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex index 31368f4..ffab5c9 100644 --- a/Doc/lib/libimp.tex +++ b/Doc/lib/libimp.tex @@ -192,7 +192,7 @@ Return \code{True} if there is a frozen module (see no such module. \end{funcdesc} -\begin{funcdesc}{load_compiled}{name, pathname, file} +\begin{funcdesc}{load_compiled}{name, pathname, \optional{file}} \indexii{file}{byte-code} Load and initialize a module implemented as a byte-compiled code file and return its module object. If the module was already initialized, @@ -218,7 +218,7 @@ shared libraries is highly system dependent, and not all systems support it.) \end{funcdesc} -\begin{funcdesc}{load_source}{name, pathname, file} +\begin{funcdesc}{load_source}{name, pathname\optional{, file}} Load and initialize a module implemented as a Python source file and return its module object. If the module was already initialized, it will be initialized \emph{again}. The \var{name} argument is used to |