summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
diff options
context:
space:
mode:
authorHagai Helman Tov <hagai.helman@gmail.com>2022-10-07 22:06:16 (GMT)
committerGitHub <noreply@github.com>2022-10-07 22:06:16 (GMT)
commit1523c9e9d47e7d67e4889987ff0f38eb7b881fdd (patch)
tree7828aa670bacaea2dddf5025512ee7b69a31cbec /Modules/clinic
parent0f111f53c1815766583ca9d5c06671ad89abcb77 (diff)
downloadcpython-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/clinic')
-rw-r--r--Modules/clinic/posixmodule.c.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
index 7fac078..31bd01d 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -1849,7 +1849,8 @@ PyDoc_STRVAR(os_mkdir__doc__,
"dir_fd may not be implemented on your platform.\n"
" If it is unavailable, using it will raise a NotImplementedError.\n"
"\n"
-"The mode argument is ignored on Windows.");
+"The mode argument is ignored on Windows. Where it is used, the current umask\n"
+"value is first masked out.");
#define OS_MKDIR_METHODDEF \
{"mkdir", _PyCFunction_CAST(os_mkdir), METH_FASTCALL|METH_KEYWORDS, os_mkdir__doc__},
@@ -11367,4 +11368,4 @@ exit:
#ifndef OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#define OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#endif /* !defined(OS_WAITSTATUS_TO_EXITCODE_METHODDEF) */
-/*[clinic end generated code: output=dd43d388b442c96d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=471ab8f2ad3d46b0 input=a9049054013a1b77]*/