Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ from
Method
from
crates/vm/src/builtins/mappingproxy.rs:47–51 ·
view source on GitHub ↗
(dict: PyTypeRef)
Source
from the content-addressed store, hash-verified
45
46
impl From<PyTypeRef> for PyMappingProxy {
47
fn from(dict: PyTypeRef) -> Self {
48
Self {
49
mapping: MappingProxyInner::Class(dict),
50
}
51
}
52
}
53
54
impl From<PyDictRef> for PyMappingProxy {
Callers
nothing calls this directly
Calls
2
Class
Class · 0.50
Mapping
Class · 0.50
Tested by
no test coverage detected