Skip to content

Commit b14396e

Browse files
committed
Merge remote-tracking branch 'upstream/main' into namespaces
2 parents 58bc8a6 + 1523c9e commit b14396e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Modules/clinic/posixmodule.c.h

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/posixmodule.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -4539,12 +4539,13 @@ If dir_fd is not None, it should be a file descriptor open to a directory,
45394539
dir_fd may not be implemented on your platform.
45404540
If it is unavailable, using it will raise a NotImplementedError.
45414541
4542-
The mode argument is ignored on Windows.
4542+
The mode argument is ignored on Windows. Where it is used, the current umask
4543+
value is first masked out.
45434544
[clinic start generated code]*/
45444545

45454546
static PyObject *
45464547
os_mkdir_impl(PyObject *module, path_t *path, int mode, int dir_fd)
4547-
/*[clinic end generated code: output=a70446903abe821f input=e965f68377e9b1ce]*/
4548+
/*[clinic end generated code: output=a70446903abe821f input=a61722e1576fab03]*/
45484549
{
45494550
int result;
45504551
#ifdef HAVE_MKDIRAT

0 commit comments

Comments
 (0)