(vm: &VirtualMachine)
| 37 | |
| 38 | #[pyattr(name = "Error", once)] |
| 39 | fn error(vm: &VirtualMachine) -> PyTypeRef { |
| 40 | vm.ctx.new_exception_type( |
| 41 | "_csv", |
| 42 | "Error", |
| 43 | Some(vec![vm.ctx.exceptions.exception_type.to_owned()]), |
| 44 | ) |
| 45 | } |
| 46 | |
| 47 | static GLOBAL_HASHMAP: LazyLock<Mutex<HashMap<String, PyDialect>>> = LazyLock::new(|| { |
| 48 | let m = HashMap::new(); |
no test coverage detected