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

Method merge_dict

crates/vm/src/builtins/set.rs:391–396  ·  view source on GitHub ↗
(&self, dict: PyDictRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

389 }
390
391 fn merge_dict(&self, dict: PyDictRef, vm: &VirtualMachine) -> PyResult<()> {
392 for (key, _value) in dict {
393 self.add(key, vm)?;
394 }
395 Ok(())
396 }
397
398 fn intersection_update(
399 &self,

Callers 1

update_internalMethod · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected