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

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


https://hg.python.org/cpython/rev/5ca4c545dfe4
changeset: 103638:5ca4c545dfe4
branch: 2.7
parent: 103616:740e43eb8138
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sun Sep 11 15:11:50 2016 +0100
summary:
 Issue #23105: Updated documentation on open() flag constants.
files:
 Doc/library/os.rst | 18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -883,7 +883,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
@@ -892,10 +892,8 @@
 O_NDELAY
 O_NONBLOCK
 O_NOCTTY
- O_SHLOCK
- O_EXLOCK
-
- These constants are only available on Unix.
+
+ The above constants are only available on Unix.
 
 
 .. data:: O_BINARY
@@ -906,7 +904,7 @@
 O_SEQUENTIAL
 O_TEXT
 
- These constants are only available on Windows.
+ The above constants are only available on Windows.
 
 
 .. data:: O_ASYNC
@@ -914,9 +912,11 @@
 O_DIRECTORY
 O_NOFOLLOW
 O_NOATIME
-
- These constants are GNU extensions and not present if they are not defined by
- the C library.
+ O_SHLOCK
+ O_EXLOCK
+
+ The above constants are extensions and not present if they are not
+ defined by the C library.
 
 
 .. _os-file-dir:
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

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