summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-12 12:38:46 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-12 12:38:46 (GMT)
commit7f49b7a1a46df219fdbb070375fc7066edd8c016 (patch)
tree91243045b0cc26bfeb6bd511d63c80df1ad1c6e0 /Doc/lib
parent28379703dc51fec5a9785a1422cdc32314026634 (diff)
downloadcpython-7f49b7a1a46df219fdbb070375fc7066edd8c016.zip
cpython-7f49b7a1a46df219fdbb070375fc7066edd8c016.tar.gz
cpython-7f49b7a1a46df219fdbb070375fc7066edd8c016.tar.bz2
cosmetics/typos
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libfuncs.tex2
-rw-r--r--Doc/lib/libsys.tex2
2 files changed, 2 insertions, 2 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