summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-08 13:34:52 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-08 13:34:52 (GMT)
commite590d57d063399deafd4f8ae7da1c8251fb398a6 (patch)
treef70d2f0738b7070115c9dd482a18ff2fb82a6d8c
parent42a826408b7e7d0a482ca8564574caff6ec8b39d (diff)
downloadcpython-e590d57d063399deafd4f8ae7da1c8251fb398a6.zip
cpython-e590d57d063399deafd4f8ae7da1c8251fb398a6.tar.gz
cpython-e590d57d063399deafd4f8ae7da1c8251fb398a6.tar.bz2
#6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
-rw-r--r--Doc/library/fcntl.rst5
1 files 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.