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

Method dict

crates/vm/src/builtins/module.rs:250–252  ·  view source on GitHub ↗

TODO: to be replaced by the commented-out dict method above once dictoffset land

(&self)

Source from the content-addressed store, hash-verified

248
249 // TODO: to be replaced by the commented-out dict method above once dictoffset land
250 pub fn dict(&self) -> PyDictRef {
251 self.as_object().dict().unwrap()
252 }
253
254 // TODO: should be on PyModule, not Py<PyModule>
255 pub(crate) fn init_dict(

Callers 15

__len__Method · 0.45
to_setMethod · 0.45
mappingMethod · 0.45
getattr_innerMethod · 0.45
init_dictMethod · 0.45
__annotate__Method · 0.45
set___annotate__Method · 0.45
__annotations__Method · 0.45
set___annotations__Method · 0.45
__reduce__Method · 0.45
__reduce__Method · 0.45
object_getstate_defaultFunction · 0.45

Calls 2

unwrapMethod · 0.45
as_objectMethod · 0.45

Tested by

no test coverage detected