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

Method __replace__

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

Source from the content-addressed store, hash-verified

82
83 #[pymethod]
84 fn __replace__(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine) -> PyResult {
85 ast_replace(zelf, args, vm)
86 }
87 }
88
89 pub(crate) fn ast_reduce(zelf: PyObjectRef, vm: &VirtualMachine) -> PyResult<PyTupleRef> {

Callers

nothing calls this directly

Calls 1

ast_replaceFunction · 0.85

Tested by

no test coverage detected