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

Method interrupt

crates/stdlib/src/_sqlite3.rs:1450–1453  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1448
1449 #[pymethod]
1450 fn interrupt(&self, vm: &VirtualMachine) -> PyResult<()> {
1451 // DO NOT check thread safety
1452 self._db_lock(vm).map(|x| x.interrupt())
1453 }
1454
1455 #[pymethod]
1456 fn getlimit(&self, category: c_int, vm: &VirtualMachine) -> PyResult<c_int> {

Callers

nothing calls this directly

Calls 2

_db_lockMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected