From: Vinay Sajip Date: Sun, 11 Sep 2016 14:15:59 +0000 (+0100) Subject: Issue #23105: Updated documentation on open() flag constants. X-Git-Tag: v3.6.0b1~45^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4946e73c88ef5381382788800e9a287daaaf7dc;p=python Issue #23105: Updated documentation on open() flag constants. --- 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 `_ 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 `_ 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 `_ 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 `_ 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