mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
reference the os module and the lock flags in the os.open() function.
(Someone please review what I wrote for accuracy.)
This commit is contained in:
parent
2dc505e058
commit
a5caa6fcd9
1 changed files with 8 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue