mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
O_BINARY: Documented this constant; omission noted by David Ascher.
access(): Corrected availability statement; error pointed out by Tim Peters.
This commit is contained in:
parent
241551c16c
commit
3ac977e39c
1 changed files with 8 additions and 1 deletions
|
@ -475,6 +475,13 @@ These can be bit-wise OR'd together.
|
|||
Availability: Macintosh, \UNIX{}, Windows.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{O_BINARY}
|
||||
Option for the \var{flag} argument to the \function{open()} function.
|
||||
This can be bit-wise OR'd together with those listed above.
|
||||
Availability: Macintosh, Windows.
|
||||
% XXX need to check on the availability of this one.
|
||||
\end{datadesc}
|
||||
|
||||
|
||||
\subsection{Files and Directories \label{os-file-dir}}
|
||||
|
||||
|
@ -485,7 +492,7 @@ existence of \var{path}, or it can be the inclusive OR of one or more
|
|||
of \constant{R_OK}, \constant{W_OK}, and \constant{X_OK} to test
|
||||
permissions. Return \code{1} if access is allowed, \code{0} if not.
|
||||
See the \UNIX{} man page \manpage{access}{2} for more information.
|
||||
Availability: \UNIX{}.
|
||||
Availability: \UNIX{}, Windows.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{datadesc}{F_OK}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue