@@ -33,7 +33,7 @@ \section{\module{fcntl} ---
3333 the return value of this function is the integer return value of the
3434 C \cfunction {fcntl()} call. When the argument is a string it
3535 represents a binary structure, e.g.\ created by
36- \function {struct.pack()}. The binary data is copied to a buffer
36+ \function {\refmodule { struct} .pack()}. The binary data is copied to a buffer
3737 whose address is passed to the C \cfunction {fcntl()} call. The
3838 return value after a successful call is the contents of the buffer,
3939 converted to a string object. The length of the returned string
@@ -72,10 +72,10 @@ \section{\module{fcntl} ---
7272 If \var {mutate_flag} is true, then the buffer is (in effect) passed
7373 to the underlying \function {ioctl()} system call, the latter's
7474 return code is passed back to the calling Python, and the buffer's
75- new contents reflect the action of the \function {ioctl}. This is a
75+ new contents reflect the action of the \function {ioctl() }. This is a
7676 slight simplification, because if the supplied buffer is less than
7777 1024 bytes long it is first copied into a static buffer 1024 bytes
78- long which is then passed to \function {ioctl} and copied back into
78+ long which is then passed to \function {ioctl() } and copied back into
7979 the supplied buffer.
8080
8181 If \var {mutate_flag} is not supplied, then in 2.3 it defaults to
@@ -167,9 +167,9 @@ \section{\module{fcntl} ---
167167better.
168168
169169\begin {seealso }
170- \seemodule {os}{The \function {os.open} function supports locking flags
171- and is available on a wider variety of platforms than
172- the \function {fcntl. lockf} and \function {fcntl. flock}
170+ \seemodule {os}{The \function {os.open() } function supports locking flags
171+ and is available on a wider variety of platforms than
172+ the \function {lockf() } and \function {flock() }
173173 functions, providing a more platform-independent file
174174 locking facility.}
175175\end {seealso }
0 commit comments