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

Method __reduce__

crates/vm/src/stdlib/_ast/python.rs:79–81  ·  view source on GitHub ↗
(zelf: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

77
78 #[pymethod]
79 fn __reduce__(zelf: PyObjectRef, vm: &VirtualMachine) -> PyResult<PyTupleRef> {
80 ast_reduce(zelf, vm)
81 }
82
83 #[pymethod]
84 fn __replace__(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

ast_reduceFunction · 0.85

Tested by

no test coverage detected