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

Method fileno

crates/vm/src/stdlib/_io.rs:442–444  ·  view source on GitHub ↗
(zelf: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

440
441 #[pymethod]
442 fn fileno(zelf: PyObjectRef, vm: &VirtualMachine) -> PyResult {
443 _unsupported(vm, &zelf, "fileno")
444 }
445
446 #[pyattr]
447 fn __closed(ctx: &Context) -> PyRef<PyBool> {

Callers 2

get_fdMethod · 0.45
isattyMethod · 0.45

Calls 7

_unsupportedFunction · 0.85
io_closed_errorFunction · 0.85
ErrClass · 0.50
cloneMethod · 0.45
lockMethod · 0.45
call_methodMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected