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

Method __exit__

crates/stdlib/src/mmap.rs:1420–1422  ·  view source on GitHub ↗
(zelf: &Py<Self>, _args: FuncArgs, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1418
1419 #[pymethod]
1420 fn __exit__(zelf: &Py<Self>, _args: FuncArgs, vm: &VirtualMachine) -> PyResult<()> {
1421 zelf.close(vm)
1422 }
1423
1424 #[cfg(windows)]
1425 #[pymethod]

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected