From e590d57d063399deafd4f8ae7da1c8251fb398a6 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 8 Jun 2009 13:34:52 +0000 Subject: #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf(). --- Doc/library/fcntl.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst index fa0b3cb..b186d14 100644 --- a/Doc/library/fcntl.rst +++ b/Doc/library/fcntl.rst @@ -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. -- cgit v0.12