(
fd: crt_fd::Borrowed<'_>,
inheritable: bool,
vm: &VirtualMachine,
)
| 223 | |
| 224 | #[pyfunction] |
| 225 | fn set_inheritable( |
| 226 | fd: crt_fd::Borrowed<'_>, |
| 227 | inheritable: bool, |
| 228 | vm: &VirtualMachine, |
| 229 | ) -> PyResult<()> { |
| 230 | let handle = crt_fd::as_handle(fd).map_err(|e| e.to_pyexception(vm))?; |
| 231 | set_handle_inheritable(handle.as_raw_handle() as _, inheritable, vm) |
| 232 | } |
| 233 | |
| 234 | #[pyattr] |
| 235 | fn environ(vm: &VirtualMachine) -> PyDictRef { |
nothing calls this directly
no test coverage detected