summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2024-01-01 18:38:29 (GMT)
committerGitHub <noreply@github.com>2024-01-01 18:38:29 (GMT)
commitd0b0e3d2eff30f699c620bc87c4dadd8cd4a77d5 (patch)
tree0cfe6160d4a10b64484d6f4ab6e9ebd9ca94107f /Modules/clinic
parent5f3cc90a12d6df404fd6f48a0df1334902e271f2 (diff)
downloadcpython-d0b0e3d2eff30f699c620bc87c4dadd8cd4a77d5.zip
cpython-d0b0e3d2eff30f699c620bc87c4dadd8cd4a77d5.tar.gz
cpython-d0b0e3d2eff30f699c620bc87c4dadd8cd4a77d5.tar.bz2
gh-113536: Expose `os.waitid` on macOS (#113542)
* gh-113536: Expose `os.waitid` on macOS This API has been available on macOS for a long time, but was explicitly excluded due to unspecified problems with the API in ancient versions of macOS. * Document that the API is available on macOS starting in Python 3.13
Diffstat (limited to 'Modules/clinic')
-rw-r--r--Modules/clinic/posixmodule.c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
index b7639af..ba3e1cf 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -5467,7 +5467,7 @@ exit:
#endif /* defined(HAVE_WAIT4) */
-#if (defined(HAVE_WAITID) && !defined(__APPLE__))
+#if defined(HAVE_WAITID)
PyDoc_STRVAR(os_waitid__doc__,
"waitid($module, idtype, id, options, /)\n"
@@ -5510,7 +5510,7 @@ exit:
return return_value;
}
-#endif /* (defined(HAVE_WAITID) && !defined(__APPLE__)) */
+#endif /* defined(HAVE_WAITID) */
#if defined(HAVE_WAITPID)
@@ -12422,4 +12422,4 @@ os__supports_virtual_terminal(PyObject *module, PyObject *Py_UNUSED(ignored))
#ifndef OS__SUPPORTS_VIRTUAL_TERMINAL_METHODDEF
#define OS__SUPPORTS_VIRTUAL_TERMINAL_METHODDEF
#endif /* !defined(OS__SUPPORTS_VIRTUAL_TERMINAL_METHODDEF) */
-/*[clinic end generated code: output=b82391c4f58231b6 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=18c128534c355d84 input=a9049054013a1b77]*/