summaryrefslogtreecommitdiffstats
path: root/Doc/librexec.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/librexec.tex')
-rw-r--r--Doc/librexec.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/librexec.tex b/Doc/librexec.tex
index 626edd3..e301f81 100644
--- a/Doc/librexec.tex
+++ b/Doc/librexec.tex
@@ -151,7 +151,7 @@ Import the module \var{modulename}, raising an \exception{ImportError}
exception if the module is considered unsafe.
\end{funcdesc}
-\begin{funcdesc}{r_open}{filename\optional{\, mode\optional{\, bufsize}}}
+\begin{funcdesc}{r_open}{filename\optional{, mode\optional{, bufsize}}}
Method called when \function{open()} is called in the restricted
environment. The arguments are identical to those of \function{open()},
and a file object (or a class instance compatible with file objects)
@@ -172,7 +172,7 @@ restricted environment's \code{sys.modules} dictionary).
And their equivalents with access to restricted standard I/O streams:
-\begin{funcdesc}{s_import}{modulename\optional{\, globals, locals, fromlist}}
+\begin{funcdesc}{s_import}{modulename\optional{, globals, locals, fromlist}}
Import the module \var{modulename}, raising an \exception{ImportError}
exception if the module is considered unsafe.
\end{funcdesc}