[Python-checkins] python/dist/src/Doc/lib libimp.tex,1.35,1.36
jlgijsbers at users.sourceforge.net
jlgijsbers at users.sourceforge.net
Fri Aug 20 16:38:59 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15442
Modified Files:
libimp.tex
Log Message:
Correct argument specifications of load_compiled and load_source: the file
argument is optional on both (the format string is "ss|O!").
Index: libimp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libimp.tex,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- libimp.tex 12 Feb 2003 23:02:18 -0000 1.35
+++ libimp.tex 20 Aug 2004 14:38:56 -0000 1.36
@@ -192,7 +192,7 @@
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 @@
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
More information about the Python-checkins
mailing list