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

Method check_readable

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

Source from the content-addressed store, hash-verified

565
566 #[pymethod(name = "_checkReadable")]
567 fn check_readable(instance: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
568 check_readable(&instance, vm)
569 }
570
571 #[pymethod(name = "_checkWritable")]
572 fn check_writable(instance: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {

Callers

nothing calls this directly

Calls 1

check_readableFunction · 0.85

Tested by

no test coverage detected