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

Method repr

crates/vm/src/builtins/slice.rs:406–408  ·  view source on GitHub ↗
(_zelf: &Py<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

404impl Representable for PyEllipsis {
405 #[inline]
406 fn repr(_zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<PyStrRef> {
407 Ok(vm.ctx.names.Ellipsis.to_owned())
408 }
409
410 #[cold]
411 fn repr_str(_zelf: &Py<Self>, _vm: &VirtualMachine) -> PyResult<String> {

Callers 1

repr_wtf8Method · 0.45

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected