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

Method __reduce_ex__

crates/vm/src/builtins/bytearray.rs:631–637  ·  view source on GitHub ↗
(
        &self,
        _proto: usize,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

629
630 #[pymethod]
631 fn __reduce_ex__(
632 &self,
633 _proto: usize,
634 vm: &VirtualMachine,
635 ) -> (PyTypeRef, PyTupleRef, Option<PyDictRef>) {
636 self.__reduce__(vm)
637 }
638
639 #[pymethod]
640 fn __reduce__(&self, vm: &VirtualMachine) -> (PyTypeRef, PyTupleRef, Option<PyDictRef>) {

Callers

nothing calls this directly

Calls 1

__reduce__Method · 0.45

Tested by

no test coverage detected