summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libfuncs.tex2
-rw-r--r--Doc/lib/libsys.tex2
-rw-r--r--Doc/libfuncs.tex2
-rw-r--r--Doc/libsys.tex2
4 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index f276fb2..ed2427b 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -233,7 +233,7 @@ any kind of sequence; the result is always a list.
expression.
\end{funcdesc}
-\begin{funcdesc}{open}{filename\, \optional{mode\optional{\, bufsize}}}
+\begin{funcdesc}{open}{filename\optional{\, mode\optional{\, bufsize}}}
Return a new file object (described earlier under Built-in Types).
The first two arguments are the same as for \code{stdio}'s
\code{fopen()}: \var{filename} is the file name to be opened,
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index 9467415..fc71139 100644
--- a/Doc/lib/libsys.tex
+++ b/Doc/lib/libsys.tex
@@ -90,7 +90,7 @@ the check is performed every 10 Python virtual instructions. Setting
it to a larger value may increase performance for programs using
threads. Setting it to a value <= 0 checks every virtual instruction,
maximizing responsiveness as well as overhead.
-\end{datadesc}
+\end{funcdesc}
\begin{funcdesc}{settrace}{tracefunc}
Set the system's trace function, which allows you to implement a
diff --git a/Doc/libfuncs.tex b/Doc/libfuncs.tex
index f276fb2..ed2427b 100644
--- a/Doc/libfuncs.tex
+++ b/Doc/libfuncs.tex
@@ -233,7 +233,7 @@ any kind of sequence; the result is always a list.
expression.
\end{funcdesc}
-\begin{funcdesc}{open}{filename\, \optional{mode\optional{\, bufsize}}}
+\begin{funcdesc}{open}{filename\optional{\, mode\optional{\, bufsize}}}
Return a new file object (described earlier under Built-in Types).
The first two arguments are the same as for \code{stdio}'s
\code{fopen()}: \var{filename} is the file name to be opened,
diff --git a/Doc/libsys.tex b/Doc/libsys.tex
index 9467415..fc71139 100644
--- a/Doc/libsys.tex
+++ b/Doc/libsys.tex
@@ -90,7 +90,7 @@ the check is performed every 10 Python virtual instructions. Setting
it to a larger value may increase performance for programs using
threads. Setting it to a value <= 0 checks every virtual instruction,
maximizing responsiveness as well as overhead.
-\end{datadesc}
+\end{funcdesc}
\begin{funcdesc}{settrace}{tracefunc}
Set the system's trace function, which allows you to implement a