MCPcopy Index your code
hub / github.com/RustPython/RustPython / int.rs

File int.rs

crates/vm/src/builtins/int.rs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use super::{PyByteArray, PyBytes, PyStr, PyType, PyTypeRef, float};
2use crate::{
3 AsObject, Context, Py, PyObject, PyObjectRef, PyPayload, PyRef, PyRefExact, PyResult,
4 TryFromBorrowedObject, VirtualMachine,

Callers

nothing calls this directly

Calls 14

try_to_floatFunction · 0.85
general_opMethod · 0.80
modpowMethod · 0.80
absMethod · 0.80
notMethod · 0.80
inner_powFunction · 0.70
SomeClass · 0.50
is_noneMethod · 0.45
to_ownedMethod · 0.45
not_implementedMethod · 0.45
to_pyresultMethod · 0.45
is_zeroMethod · 0.45

Tested by

no test coverage detected