MCPcopy Index your code
hub / github.com/RustPython/RustPython / new_csv_error

Function new_csv_error

crates/stdlib/src/csv.rs:53–55  ·  view source on GitHub ↗
(vm: &VirtualMachine, msg: impl Into<Wtf8Buf>)

Source from the content-addressed store, hash-verified

51 static GLOBAL_FIELD_LIMIT: LazyLock<Mutex<isize>> = LazyLock::new(|| Mutex::new(131072));
52
53 fn new_csv_error(vm: &VirtualMachine, msg: impl Into<Wtf8Buf>) -> PyBaseExceptionRef {
54 vm.new_exception_msg(super::_csv::error(vm), msg.into())
55 }
56
57 #[pyattr]
58 #[pyclass(module = "csv", name = "Dialect")]

Callers 5

get_dialectFunction · 0.85
unregister_dialectFunction · 0.85
resultMethod · 0.85
nextMethod · 0.85
writerowMethod · 0.85

Calls 2

new_exception_msgMethod · 0.80
errorFunction · 0.70

Tested by

no test coverage detected