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

Method __reduce_ex__

crates/vm/src/builtins/bytes.rs:544–550  ·  view source on GitHub ↗
(
        &self,
        _proto: usize,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

542impl Py<PyBytes> {
543 #[pymethod]
544 fn __reduce_ex__(
545 &self,
546 _proto: usize,
547 vm: &VirtualMachine,
548 ) -> (PyTypeRef, PyTupleRef, Option<PyDictRef>) {
549 self.__reduce__(vm)
550 }
551
552 #[pymethod]
553 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