]> granicus.if.org Git - python/commitdiff
The _O_* constants are defined as O_* in the os module.
authorFred Drake <fdrake@acm.org>
Tue, 16 Feb 1999 19:41:01 +0000 (19:41 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 16 Feb 1999 19:41:01 +0000 (19:41 +0000)
Doc/lib/libmsvcrt.tex

index f85be1dc08e942f3e3921859fb39af7a9b95cd31..481117b0023fb1e6dbccabd6d45100fed46af472 100644 (file)
@@ -25,16 +25,16 @@ API documentation.
 
 \begin{funcdesc}{setmode}{fd, flags}
   Set the line-end translation mode for the file descriptor \var{fd}.
-  To set it to text mode, \var{flags} should be \constant{_O_TEXT};
-  for binary, it should be \constant{_O_BINARY}.
+  To set it to text mode, \var{flags} should be \constant{os.O_TEXT};
+  for binary, it should be \constant{os.O_BINARY}.
 \end{funcdesc}
 
 \begin{funcdesc}{open_osfhandle}{handle, flags}
   Create a C runtime file descriptor from the file handle
   \var{handle}.  The \var{flags} parameter should be a bit-wise OR of
-  \constant{_O_APPEND}, \constant{_O_RDONLY}, and \constant{_O_TEXT}.
-  The returned file descriptor may be used as a parameter to
-  \function{os.fdopen()} to create a file object.
+  \constant{os.O_APPEND}, \constant{os.O_RDONLY}, and
+  \constant{os.O_TEXT}.  The returned file descriptor may be used as a
+  parameter to \function{os.fdopen()} to create a file object.
 \end{funcdesc}
 
 \begin{funcdesc}{get_osfhandle}{fd}