(zelf: &Py<Self>, vm: &VirtualMachine)
| 1412 | |
| 1413 | #[pymethod] |
| 1414 | fn __enter__(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<PyRef<Self>> { |
| 1415 | let _m = zelf.check_valid(vm)?; |
| 1416 | Ok(zelf.to_owned()) |
| 1417 | } |
| 1418 | |
| 1419 | #[pymethod] |
| 1420 | fn __exit__(zelf: &Py<Self>, _args: FuncArgs, vm: &VirtualMachine) -> PyResult<()> { |
nothing calls this directly
no test coverage detected