From: Skip Montanaro Date: Wed, 15 Jan 2003 21:08:19 +0000 (+0000) Subject: reference the os module and the lock flags in the os.open() function. X-Git-Tag: v2.3c1~2447 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5caa6fcd9dea7091aa4749f18ee891b373797a0;p=python reference the os module and the lock flags in the os.open() function. (Someone please review what I wrote for accuracy.) --- diff --git a/Doc/lib/libfcntl.tex b/Doc/lib/libfcntl.tex index 33a5893014..645a97ef2e 100644 --- a/Doc/lib/libfcntl.tex +++ b/Doc/lib/libfcntl.tex @@ -118,3 +118,11 @@ hold an integer value; in the second example it will hold a string value. The structure lay-out for the \var{lockdata} variable is system dependent --- therefore using the \function{flock()} call may be better. + +\begin{seealso} + \seemodule{os}{The \function{os.open} function supports locking flags + and is available on a wider variety of platforms than + the \function{fcntl.lockf} and \function{fcntl.flock} + functions, providing a more platform-independent file + locking facility.} +\end{seealso}