File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ \subsection{File Operations \label{msvcrt-files}}
2525
2626\begin {funcdesc }{setmode}{fd, flags}
2727 Set the line-end translation mode for the file descriptor \var {fd}.
28- To set it to text mode, \var {flags} should be \constant {_O_TEXT };
29- for binary, it should be \constant {_O_BINARY }.
28+ To set it to text mode, \var {flags} should be \constant {os.O_TEXT };
29+ for binary, it should be \constant {os.O_BINARY }.
3030\end {funcdesc }
3131
3232\begin {funcdesc }{open_osfhandle}{handle, flags}
3333 Create a C runtime file descriptor from the file handle
3434 \var {handle}. The \var {flags} parameter should be a bit-wise OR of
35- \constant {_O_APPEND }, \constant {_O_RDONLY }, and \constant {_O_TEXT}.
36- The returned file descriptor may be used as a parameter to
37- \function {os.fdopen()} to create a file object.
35+ \constant {os.O_APPEND }, \constant {os.O_RDONLY }, and
36+ \constant {os.O_TEXT}. The returned file descriptor may be used as a
37+ parameter to \function {os.fdopen()} to create a file object.
3838\end {funcdesc }
3939
4040\begin {funcdesc }{get_osfhandle}{fd}
You can’t perform that action at this time.
0 commit comments