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

Method __reduce__

crates/vm/src/builtins/memory.rs:952–954  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

950
951 #[pymethod]
952 fn __reduce__(&self, vm: &VirtualMachine) -> PyResult {
953 Err(vm.new_type_error("cannot pickle 'memoryview' object"))
954 }
955}
956
957#[derive(FromArgs)]

Callers 1

__reduce_ex__Method · 0.45

Calls 5

builtins_iterFunction · 0.85
ErrClass · 0.50
reduceMethod · 0.45
lockMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected