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

Method repr_str

crates/vm/src/builtins/bytes.rs:730–732  ·  view source on GitHub ↗
(zelf: &Py<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

728impl Representable for PyBytes {
729 #[inline]
730 fn repr_str(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<String> {
731 zelf.inner.repr_bytes(vm)
732 }
733}
734
735#[pyclass(module = false, name = "bytes_iterator")]

Callers

nothing calls this directly

Calls 1

repr_bytesMethod · 0.80

Tested by

no test coverage detected