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

Method fromlist

crates/stdlib/src/array.rs:968–970  ·  view source on GitHub ↗
(zelf: &Py<Self>, list: PyListRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

966
967 #[pymethod]
968 fn fromlist(zelf: &Py<Self>, list: PyListRef, vm: &VirtualMachine) -> PyResult<()> {
969 zelf.try_resizable(vm)?.fromlist(&list, vm)
970 }
971
972 #[pymethod]
973 fn reverse(&self) {

Callers 3

test_iterator_pickleMethod · 0.80
test_tofromlistMethod · 0.80
test_fromlistMethod · 0.80

Calls 1

try_resizableMethod · 0.80

Tested by 3

test_iterator_pickleMethod · 0.64
test_tofromlistMethod · 0.64
test_fromlistMethod · 0.64