[Python-checkins] cpython (3.5): Issue #23105: Updated documentation on open() flag constants.

vinay.sajip python-checkins at python.org
Sun Sep 11 10:17:06 EDT 2016


https://hg.python.org/cpython/rev/f1427491a8a5
changeset: 103639:f1427491a8a5
branch: 3.5
parent: 103632:9023c4f5d467
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sun Sep 11 15:15:59 2016 +0100
summary:
 Issue #23105: Updated documentation on open() flag constants.
files:
 Doc/library/os.rst | 14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -908,7 +908,7 @@
 O_EXCL
 O_TRUNC
 
- These constants are available on Unix and Windows.
+ The above constants are available on Unix and Windows.
 
 
 .. data:: O_DSYNC
@@ -917,11 +917,9 @@
 O_NDELAY
 O_NONBLOCK
 O_NOCTTY
- O_SHLOCK
- O_EXLOCK
 O_CLOEXEC
 
- These constants are only available on Unix.
+ The above constants are only available on Unix.
 
 .. versionchanged:: 3.3
 Add :data:`O_CLOEXEC` constant.
@@ -934,7 +932,7 @@
 O_SEQUENTIAL
 O_TEXT
 
- These constants are only available on Windows.
+ The above constants are only available on Windows.
 
 
 .. data:: O_ASYNC
@@ -944,8 +942,10 @@
 O_NOATIME
 O_PATH
 O_TMPFILE
-
- These constants are GNU extensions and not present if they are not defined by
+ O_SHLOCK
+ O_EXLOCK
+
+ The above constants are extensions and not present if they are not defined by
 the C library.
 
 .. versionchanged:: 3.4
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /