#6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().

This commit is contained in:
Georg Brandl 2009-06-08 13:34:52 +00:00
parent 42a826408b
commit e590d57d06
1 changed files with 2 additions and 3 deletions

View File

@ -151,7 +151,6 @@ lay-out for the *lockdata* variable is system dependent --- therefore using the
Module :mod:`os`
If the locking flags :const:`O_SHLOCK` and :const:`O_EXLOCK` are present
in the :mod:`os` module, the :func:`os.open` function provides a more
platform-independent alternative to the :func:`lockf` and :func:`flock`
functions.
in the :mod:`os` module (on BSD only), the :func:`os.open` function
provides an alternative to the :func:`lockf` and :func:`flock` functions.