(vm: &VirtualMachine)
| 21 | |
| 22 | #[pyattr(name = "Error", once)] |
| 23 | pub(super) fn error_type(vm: &VirtualMachine) -> PyTypeRef { |
| 24 | vm.ctx.new_exception_type( |
| 25 | "binascii", |
| 26 | "Error", |
| 27 | Some(vec![vm.ctx.exceptions.value_error.to_owned()]), |
| 28 | ) |
| 29 | } |
| 30 | |
| 31 | #[pyattr(name = "Incomplete", once)] |
| 32 | fn incomplete_type(vm: &VirtualMachine) -> PyTypeRef { |
no test coverage detected