]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF bug 990749: os constants missing
authorTim Peters <tim.peters@gmail.com>
Thu, 15 Jul 2004 05:46:37 +0000 (05:46 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 15 Jul 2004 05:46:37 +0000 (05:46 +0000)
A LaTeX comment identified the 6 os.O_XXX constants the docs claimed
are available on Windows but aren't.  The bug report listed the same 6.
Split these non-Windows constants into a different table with a possibly
correct "Availability:" claim.

Doc/lib/libos.tex

index 73630e89f18ce8dedad6244b0d91e6b55afba6ae..9159131de6b745d29c5bbe065774d05637adc3ea 100644 (file)
@@ -586,20 +586,23 @@ The following data items are available for use in constructing the
 \begin{datadesc}{O_RDONLY}
 \dataline{O_WRONLY}
 \dataline{O_RDWR}
-\dataline{O_NDELAY}
-\dataline{O_NONBLOCK}
 \dataline{O_APPEND}
-\dataline{O_DSYNC}
-\dataline{O_RSYNC}
-\dataline{O_SYNC}
-\dataline{O_NOCTTY}
 \dataline{O_CREAT}
 \dataline{O_EXCL}
 \dataline{O_TRUNC}
 Options for the \var{flag} argument to the \function{open()} function.
 These can be bit-wise OR'd together.
 Availability: Macintosh, \UNIX, Windows.
-% XXX O_NDELAY, O_NONBLOCK, O_DSYNC, O_RSYNC, O_SYNC, O_NOCTTY are not on Windows.
+\end{datadesc}
+
+begin{datadesc}{O_DSYNC}
+\dataline{O_RSYNC}
+\dataline{O_SYNC}
+\dataline{O_NDELAY}
+\dataline{O_NONBLOCK}
+\dataline{O_NOCTTY}
+More options for the \var{flag} argument to the \function{open()} function.
+Availability: Macintosh, \UNIX.
 \end{datadesc}
 
 \begin{datadesc}{O_BINARY}