summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2016-09-11 14:15:59 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2016-09-11 14:15:59 (GMT)
commite4946e73c88ef5381382788800e9a287daaaf7dc (patch)
treeb10e7a2d429edf789438ae2b525ea852dfdbf615
parent1c697a56ba208665ed3db5c6bae48774cc7f552d (diff)
downloadcpython-e4946e73c88ef5381382788800e9a287daaaf7dc.zip
cpython-e4946e73c88ef5381382788800e9a287daaaf7dc.tar.gz
cpython-e4946e73c88ef5381382788800e9a287daaaf7dc.tar.bz2
Issue #23105: Updated documentation on open() flag constants.
-rw-r--r--Doc/library/os.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 4265bc2..56e4adc 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -908,7 +908,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
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 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
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 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
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 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
O_NOATIME
O_PATH
O_TMPFILE
+ O_SHLOCK
+ O_EXLOCK
- These constants are GNU extensions and not present if they are not defined by
+ The above constants are extensions and not present if they are not defined by
the C library.
.. versionchanged:: 3.4