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

Method clone_exact

crates/vm/src/builtins/int.rs:679–681  ·  view source on GitHub ↗
(zelf: &Py<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

677
678 #[inline]
679 fn clone_exact(zelf: &Py<Self>, vm: &VirtualMachine) -> PyRef<Self> {
680 vm.ctx.new_bigint(&zelf.value)
681 }
682}
683
684impl PyInt {

Callers

nothing calls this directly

Calls 1

new_bigintMethod · 0.80

Tested by

no test coverage detected