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

Method repr_str

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

Source from the content-addressed store, hash-verified

1543impl Representable for PyStr {
1544 #[inline]
1545 fn repr_str(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<String> {
1546 zelf.repr(vm)
1547 }
1548}
1549
1550impl Hashable for PyStr {

Callers

nothing calls this directly

Calls 1

reprMethod · 0.45

Tested by

no test coverage detected