(vm: &VirtualMachine)
| 141 | |
| 142 | #[pyattr(name = "Error", once)] |
| 143 | fn error(vm: &VirtualMachine) -> PyTypeRef { |
| 144 | vm.ctx.new_exception_type( |
| 145 | "locale", |
| 146 | "Error", |
| 147 | Some(vec![vm.ctx.exceptions.exception_type.to_owned()]), |
| 148 | ) |
| 149 | } |
| 150 | |
| 151 | #[pyfunction] |
| 152 | fn strcoll(string1: PyUtf8StrRef, string2: PyUtf8StrRef, vm: &VirtualMachine) -> PyResult { |
no test coverage detected