(vm: &VirtualMachine)
| 855 | } |
| 856 | #[pyattr(once)] |
| 857 | fn gaierror(vm: &VirtualMachine) -> PyTypeRef { |
| 858 | vm.ctx.new_exception_type( |
| 859 | "socket", |
| 860 | "gaierror", |
| 861 | Some(vec![vm.ctx.exceptions.os_error.to_owned()]), |
| 862 | ) |
| 863 | } |
| 864 | |
| 865 | #[pyfunction] |
| 866 | const fn htonl(x: u32) -> u32 { |
no test coverage detected