(vm: &VirtualMachine)
| 847 | |
| 848 | #[pyattr(once)] |
| 849 | fn herror(vm: &VirtualMachine) -> PyTypeRef { |
| 850 | vm.ctx.new_exception_type( |
| 851 | "socket", |
| 852 | "herror", |
| 853 | Some(vec![vm.ctx.exceptions.os_error.to_owned()]), |
| 854 | ) |
| 855 | } |
| 856 | #[pyattr(once)] |
| 857 | fn gaierror(vm: &VirtualMachine) -> PyTypeRef { |
| 858 | vm.ctx.new_exception_type( |
no test coverage detected