Skip to content

Commit

Permalink
pythongh-117873: Revert _posixshmem.shm_open() change (python#118901)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored May 13, 2024
1 parent f526314 commit 7d7eec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Modules/_multiprocessing/clinic/posixshmem.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Modules/_multiprocessing/posixshmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module _posixshmem
/*[clinic input]
_posixshmem.shm_open -> int
path: unicode
/
flags: int
mode: int = 0o777
Expand All @@ -45,7 +44,7 @@ Open a shared memory object. Returns a file descriptor (integer).
static int
_posixshmem_shm_open_impl(PyObject *module, PyObject *path, int flags,
int mode)
/*[clinic end generated code: output=8d110171a4fa20df input=0585935e1d3c8050]*/
/*[clinic end generated code: output=8d110171a4fa20df input=e83b58fa802fac25]*/
{
int fd;
int async_err = 0;
Expand Down

0 comments on commit 7d7eec5

Please sign in to comment.