diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
commit | 1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch) | |
tree | 260789493c7151408f009eaa84a7815ce4d28246 /Doc/libfcntl.tex | |
parent | dc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff) | |
download | cpython-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/libfcntl.tex')
-rw-r--r-- | Doc/libfcntl.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libfcntl.tex b/Doc/libfcntl.tex index 5dab283..8af4ee3 100644 --- a/Doc/libfcntl.tex +++ b/Doc/libfcntl.tex @@ -11,7 +11,7 @@ file or socket object. The module defines the following functions: -\renewcommand{\indexsubitem}{(in module struct)} +\setindexsubitem{(in module struct)} \begin{funcdesc}{fcntl}{fd\, op\optional{\, arg}} Perform the requested operation on file descriptor \code{\var{fd}}. @@ -56,7 +56,7 @@ script, found in the \file{Tools/scripts} directory. Examples (all on a SVR4 compliant system): -\bcode\begin{verbatim} +\begin{verbatim} import struct, FCNTL file = open(...) @@ -64,7 +64,7 @@ rv = fcntl(file.fileno(), FCNTL.O_NDELAY, 1) lockdata = struct.pack('hhllhh', FCNTL.F_WRLCK, 0, 0, 0, 0, 0) rv = fcntl(file.fileno(), FCNTL.F_SETLKW, lockdata) -\end{verbatim}\ecode +\end{verbatim} % Note that in the first example the return value variable \code{rv} will hold an integer value; in the second example it will hold a string |