summaryrefslogtreecommitdiffstats
path: root/Doc/libposixfile.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
commit1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch)
tree260789493c7151408f009eaa84a7815ce4d28246 /Doc/libposixfile.tex
parentdc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff)
downloadcpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/libposixfile.tex')
-rw-r--r--Doc/libposixfile.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/libposixfile.tex b/Doc/libposixfile.tex
index 3d1fad1..fc04d8d 100644
--- a/Doc/libposixfile.tex
+++ b/Doc/libposixfile.tex
@@ -21,7 +21,7 @@ the same as a standard file object.
The posixfile module defines the following constants:
-\renewcommand{\indexsubitem}{(in module posixfile)}
+\setindexsubitem{(in module posixfile)}
\begin{datadesc}{SEEK_SET}
offset is calculated from the start of the file
\end{datadesc}
@@ -36,7 +36,7 @@ offset is calculated from the end of the file
The posixfile module defines the following functions:
-\renewcommand{\indexsubitem}{(in module posixfile)}
+\setindexsubitem{(in module posixfile)}
\begin{funcdesc}{open}{filename\optional{\, mode\optional{\, bufsize}}}
Create a new posixfile object with the given filename and mode. The
@@ -52,7 +52,7 @@ The posixfile module defines the following functions:
The posixfile object defines the following additional methods:
-\renewcommand{\indexsubitem}{(posixfile method)}
+\setindexsubitem{(posixfile method)}
\begin{funcdesc}{lock}{fmt\, \optional{len\optional{\, start\optional{\, whence}}}}
Lock the specified section of the file that the file object is
referring to. The format is explained
@@ -146,7 +146,7 @@ by the same call.
Examples:
-\bcode\begin{verbatim}
+\begin{verbatim}
from posixfile import *
file = open('/tmp/test', 'w')
@@ -154,4 +154,4 @@ file.lock('w|')
...
file.lock('u')
file.close()
-\end{verbatim}\ecode
+\end{verbatim}