diff options
author | Hagai Helman Tov <hagai.helman@gmail.com> | 2022-10-07 22:06:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 22:06:16 (GMT) |
commit | 1523c9e9d47e7d67e4889987ff0f38eb7b881fdd (patch) | |
tree | 7828aa670bacaea2dddf5025512ee7b69a31cbec /Modules/posixmodule.c | |
parent | 0f111f53c1815766583ca9d5c06671ad89abcb77 (diff) | |
download | cpython-1523c9e9d47e7d67e4889987ff0f38eb7b881fdd.zip cpython-1523c9e9d47e7d67e4889987ff0f38eb7b881fdd.tar.gz cpython-1523c9e9d47e7d67e4889987ff0f38eb7b881fdd.tar.bz2 |
gh-96288: Add a sentence to `os.mkdir`'s docstring. (#96271)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index a72d577..1e556fc 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4539,12 +4539,13 @@ If dir_fd is not None, it should be a file descriptor open to a directory, dir_fd may not be implemented on your platform. If it is unavailable, using it will raise a NotImplementedError. -The mode argument is ignored on Windows. +The mode argument is ignored on Windows. Where it is used, the current umask +value is first masked out. [clinic start generated code]*/ static PyObject * os_mkdir_impl(PyObject *module, path_t *path, int mode, int dir_fd) -/*[clinic end generated code: output=a70446903abe821f input=e965f68377e9b1ce]*/ +/*[clinic end generated code: output=a70446903abe821f input=a61722e1576fab03]*/ { int result; #ifdef HAVE_MKDIRAT |