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

Method extend

crates/vm/src/stdlib/_collections.rs:120–122  ·  view source on GitHub ↗
(&self, iter: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

118
119 #[pymethod]
120 fn extend(&self, iter: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
121 self._extend(&iter, vm)
122 }
123
124 fn _extend(&self, iter: &PyObject, vm: &VirtualMachine) -> PyResult<()> {
125 self.state.fetch_add(1);

Callers 15

get_referentsFunction · 0.45
strftime_crtFunction · 0.45
py2regFunction · 0.45
_extendMethod · 0.45
concatMethod · 0.45
__iadd__Method · 0.45
initMethod · 0.45
py_newMethod · 0.45
callMethod · 0.45
call_typing_args_kwargsFunction · 0.45
envp_from_dictFunction · 0.45
spawnMethod · 0.45

Calls 1

_extendMethod · 0.80

Tested by

no test coverage detected