Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1543
impl Representable for PyStr {
1544
#[inline]
1545
fn repr_str(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<String> {
1546
zelf.repr(vm)
1547
}
1548
}
1549
1550
impl Hashable for PyStr {
Callers
nothing calls this directly
Calls
1
repr
Method · 0.45
Tested by
no test coverage detected