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

Function _unsupported

crates/vm/src/stdlib/_io.rs:206–211  ·  view source on GitHub ↗
(vm: &VirtualMachine, zelf: &PyObject, operation: &str)

Source from the content-addressed store, hash-verified

204 }
205
206 fn _unsupported<T>(vm: &VirtualMachine, zelf: &PyObject, operation: &str) -> PyResult<T> {
207 Err(new_unsupported_operation(
208 vm,
209 format!("{}.{}() not supported", zelf.class().name(), operation),
210 ))
211 }
212
213 #[derive(FromArgs)]
214 pub(super) struct OptionalSize {

Callers 7

seekMethod · 0.85
truncateMethod · 0.85
filenoMethod · 0.85
readMethod · 0.85
read1Method · 0.85
writeMethod · 0.85
detachMethod · 0.85

Calls 2

ErrClass · 0.50

Tested by

no test coverage detected