mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
#1735632: add O_NOATIME constant to os module.
Also document a few other O_ constants that were missing from documentation.
This commit is contained in:
parent
ce7d10ccc4
commit
b67da6ed2b
2 changed files with 14 additions and 8 deletions
|
@ -703,14 +703,7 @@ platforms. For descriptions of their availability and use, consult
|
|||
|
||||
|
||||
.. data:: O_BINARY
|
||||
|
||||
Option for the *flag* argument to the :func:`open` function. This can be
|
||||
bit-wise OR'd together with those listed above. Availability: Windows.
|
||||
|
||||
.. % XXX need to check on the availability of this one.
|
||||
|
||||
|
||||
.. data:: O_NOINHERIT
|
||||
O_NOINHERIT
|
||||
O_SHORT_LIVED
|
||||
O_TEMPORARY
|
||||
O_RANDOM
|
||||
|
@ -721,6 +714,15 @@ platforms. For descriptions of their availability and use, consult
|
|||
bit-wise OR'd together. Availability: Windows.
|
||||
|
||||
|
||||
.. data:: O_DIRECT
|
||||
O_DIRECTORY
|
||||
O_NOFOLLOW
|
||||
O_NOATIME
|
||||
|
||||
Options for the *flag* argument to the :func:`open` function. These are
|
||||
GNU extensions and not present if they are not defined by the C library.
|
||||
|
||||
|
||||
.. data:: SEEK_SET
|
||||
SEEK_CUR
|
||||
SEEK_END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue