]> granicus.if.org Git - python/commitdiff
Issue #23105: Updated documentation on open() flag constants.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 11 Sep 2016 14:11:50 +0000 (15:11 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 11 Sep 2016 14:11:50 +0000 (15:11 +0100)
Doc/library/os.rst

index d9a62dc0af88002736b3a322225b349b01d93ade..9caebf13a08bd0da71efd4a1a7964395a9813957 100644 (file)
@@ -883,7 +883,7 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
           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 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
           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 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
           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 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
           O_DIRECTORY
           O_NOFOLLOW
           O_NOATIME
+          O_SHLOCK
+          O_EXLOCK
 
-   These constants are GNU extensions and not present if they are not defined by
-   the C library.
+   The above constants are extensions and not present if they are not
+   defined by the C library.
 
 
 .. _os-file-dir: