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

Method regs

crates/vm/src/stdlib/_sre.rs:675–680  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

673
674 #[pygetset]
675 fn regs(&self, vm: &VirtualMachine) -> PyTupleRef {
676 PyTuple::new_ref(
677 self.regs.iter().map(|&x| x.to_pyobject(vm)).collect(),
678 &vm.ctx,
679 )
680 }
681
682 #[pymethod]
683 fn start(&self, group: OptionalArg<PyObjectRef>, vm: &VirtualMachine) -> PyResult<isize> {

Callers

nothing calls this directly

Calls 4

collectMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45
to_pyobjectMethod · 0.45

Tested by

no test coverage detected