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

Method start

crates/vm/src/stdlib/_sre.rs:683–685  ·  view source on GitHub ↗
(&self, group: OptionalArg<PyObjectRef>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

681
682 #[pymethod]
683 fn start(&self, group: OptionalArg<PyObjectRef>, vm: &VirtualMachine) -> PyResult<isize> {
684 self.span(group, vm).map(|x| x.0)
685 }
686
687 #[pymethod]
688 fn end(&self, group: OptionalArg<PyObjectRef>, vm: &VirtualMachine) -> PyResult<isize> {

Callers 14

strip_docstring_in_bodyFunction · 0.45
ast_to_objectMethod · 0.45
ast_to_objectFunction · 0.45
ast_to_objectMethod · 0.45
ast_to_objectMethod · 0.45
content_boundsFunction · 0.45

Calls 2

spanMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected