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

Method seekable

crates/vm/src/stdlib/_io.rs:1710–1712  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1708
1709 #[pymethod]
1710 fn seekable(&self, vm: &VirtualMachine) -> PyResult {
1711 vm.call_method(self.lock(vm)?.check_init(vm)?, "seekable", ())
1712 }
1713
1714 #[pygetset]
1715 fn raw(&self, vm: &VirtualMachine) -> PyResult<Option<PyObjectRef>> {

Callers

nothing calls this directly

Implementers 1

_io.rscrates/vm/src/stdlib/_io.rs

Calls 3

check_initMethod · 0.80
call_methodMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected