mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +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
|
@ -8658,6 +8658,10 @@ all_ins(PyObject *d)
|
|||
/* Do not follow links. */
|
||||
if (ins(d, "O_NOFOLLOW", (long)O_NOFOLLOW)) return -1;
|
||||
#endif
|
||||
#ifdef O_NOATIME
|
||||
/* Do not update the access time. */
|
||||
if (ins(d, "O_NOATIME", (long)O_NOATIME)) return -1;
|
||||
#endif
|
||||
|
||||
/* These come from sysexits.h */
|
||||
#ifdef EX_OK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue