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

Method subn

crates/stdlib/src/re.rs:340–342  ·  view source on GitHub ↗
(&self, repl: PyStrRef, text: PyStrRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

338
339 #[pymethod]
340 fn subn(&self, repl: PyStrRef, text: PyStrRef, vm: &VirtualMachine) -> PyResult {
341 self.sub(repl, text, vm)
342 }
343
344 #[pygetset]
345 fn pattern(&self, vm: &VirtualMachine) -> PyResult<PyStrRef> {

Callers 5

split_header_wordsFunction · 0.45
test_misuse_flagsMethod · 0.45
test_re_subnMethod · 0.45
test_large_subnMethod · 0.45
subnFunction · 0.45

Calls 1

subMethod · 0.45

Tested by 3

test_misuse_flagsMethod · 0.36
test_re_subnMethod · 0.36
test_large_subnMethod · 0.36