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

Method _as_dict_inner

crates/vm/src/builtins/dict.rs:119–121  ·  view source on GitHub ↗

escape hatch to access the underlying data structure directly. prefer adding a method on PyDict instead of using this

(&self)

Source from the content-addressed store, hash-verified

117 /// escape hatch to access the underlying data structure directly. prefer adding a method on
118 /// PyDict instead of using this
119 pub(crate) const fn _as_dict_inner(&self) -> &DictContentType {
120 &self.entries
121 }
122
123 /// Monotonically increasing version for mutation tracking.
124 pub(crate) fn version(&self) -> u64 {

Callers 1

_remove_dead_weakrefFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected