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

Method repr_str

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

Source from the content-addressed store, hash-verified

658impl Representable for PyInt {
659 #[inline]
660 fn repr_str(zelf: &Py<Self>, _vm: &VirtualMachine) -> PyResult<String> {
661 Ok(zelf.to_str_radix_10())
662 }
663}
664
665impl Hashable for PyInt {

Callers

nothing calls this directly

Calls 1

to_str_radix_10Method · 0.80

Tested by

no test coverage detected