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

Method is_closed

crates/stdlib/src/_sqlite3.rs:1094–1096  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1092 }
1093
1094 fn is_closed(&self) -> bool {
1095 self.db.lock().is_none()
1096 }
1097
1098 #[pymethod]
1099 fn commit(&self, vm: &VirtualMachine) -> PyResult<()> {

Callers 2

nextMethod · 0.45

Calls 2

is_noneMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected