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

Method copy

crates/vm/src/builtins/dict.rs:352–356  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

350
351 #[pymethod]
352 pub fn copy(&self) -> Self {
353 Self {
354 entries: self.entries.clone(),
355 }
356 }
357
358 #[pymethod]
359 fn update(

Callers 2

__or__Method · 0.45
__ror__Method · 0.45

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected