diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-09-11 15:15:59 +0100 |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-09-11 15:15:59 +0100 |
| commit | e4946e73c88ef5381382788800e9a287daaaf7dc (patch) | |
| tree | b10e7a2d429edf789438ae2b525ea852dfdbf615 | |
| parent | 1c697a56ba208665ed3db5c6bae48774cc7f552d (diff) | |
| download | cpython-git-e4946e73c88ef5381382788800e9a287daaaf7dc.tar.gz | |
Issue #23105: Updated documentation on open() flag constants.
| -rw-r--r-- | Doc/library/os.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 4265bc23a1..56e4adc3f0 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 |
