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

Method make_int

crates/vm/src/stdlib/marshal.rs:408–410  ·  view source on GitHub ↗
(&self, value: BigInt)

Source from the content-addressed store, hash-verified

406 self.0.ctx.new_bytes(value.to_vec()).into()
407 }
408 fn make_int(&self, value: BigInt) -> Self::Value {
409 self.0.ctx.new_int(value).into()
410 }
411 fn make_tuple(&self, elements: impl Iterator<Item = Self::Value>) -> Self::Value {
412 self.0.ctx.new_tuple(elements.collect()).into()
413 }

Callers

nothing calls this directly

Calls 1

new_intMethod · 0.45

Tested by

no test coverage detected