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

Method __getnewargs__

crates/vm/src/builtins/float.rs:403–405  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

401
402 #[pymethod]
403 fn __getnewargs__(&self, vm: &VirtualMachine) -> PyObjectRef {
404 (self.value,).to_pyobject(vm)
405 }
406}
407
408impl Comparable for PyFloat {

Callers

nothing calls this directly

Calls 1

to_pyobjectMethod · 0.45

Tested by

no test coverage detected