Lines Matching defs:inheritable
4698 "dup2($module, /, fd, fd2, inheritable=True)\n"
4707 os_dup2_impl(PyObject *module, int fd, int fd2, int inheritable);
4713 static const char * const _keywords[] = {"fd", "fd2", "inheritable", NULL};
4719 int inheritable = 1;
4737 inheritable = PyObject_IsTrue(args[2]);
4738 if (inheritable < 0) {
4742 _return_value = os_dup2_impl(module, fd, fd2, inheritable);
8130 "set_inheritable($module, fd, inheritable, /)\n"
8133 "Set the inheritable flag of the specified file descriptor.");
8139 os_set_inheritable_impl(PyObject *module, int fd, int inheritable);
8146 int inheritable;
8155 inheritable = _PyLong_AsInt(args[1]);
8156 if (inheritable == -1 && PyErr_Occurred()) {
8159 return_value = os_set_inheritable_impl(module, fd, inheritable);
8204 "set_handle_inheritable($module, handle, inheritable, /)\n"
8207 "Set the inheritable flag of the specified handle.");
8214 int inheritable);
8221 int inheritable;
8224 &handle, &inheritable)) {
8227 return_value = os_set_handle_inheritable_impl(module, handle, inheritable);