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

Method check_closed

crates/vm/src/stdlib/_io.rs:562–564  ·  view source on GitHub ↗
(instance: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

560
561 #[pymethod(name = "_checkClosed")]
562 fn check_closed(instance: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
563 check_closed(&instance, vm)
564 }
565
566 #[pymethod(name = "_checkReadable")]
567 fn check_readable(instance: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {

Callers 5

flush_innerFunction · 0.45
reconfigureMethod · 0.45
readMethod · 0.45
writeMethod · 0.45
isattyMethod · 0.45

Calls 1

check_closedFunction · 0.85

Tested by

no test coverage detected