From: Georg Brandl Date: Mon, 8 Jun 2009 13:34:52 +0000 (+0000) Subject: #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf(). X-Git-Tag: v2.7a1~1006 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e590d57d063399deafd4f8ae7da1c8251fb398a6;p=python #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf(). --- diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst index fa0b3cba97..b186d14f7a 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.