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

Function MappingProxyType

crates/vm/src/stdlib/_types.rs:93–95  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

91
92 #[pyattr]
93 fn MappingProxyType(vm: &VirtualMachine) -> PyObjectRef {
94 vm.ctx.types.mappingproxy_type.to_owned().into()
95 }
96
97 #[pyattr]
98 fn MemberDescriptorType(vm: &VirtualMachine) -> PyObjectRef {

Callers 4

singledispatchFunction · 0.90
__members__Method · 0.90
paramsMethod · 0.90
_parser.pyFile · 0.90

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected