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

Method weak_ref_list

crates/vm/src/object/core.rs:1321–1323  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1319 /// independent from ObjExt (dict/slots).
1320 #[inline(always)]
1321 fn weak_ref_list(&self) -> Option<&WeakRefList> {
1322 self.0.weakref_list_ref()
1323 }
1324
1325 /// Returns the first weakref in the weakref list, if any.
1326 pub(crate) fn get_weakrefs(&self) -> Option<PyObjectRef> {

Callers 7

get_weakrefsMethod · 0.80
downgrade_with_typMethod · 0.80
get_weak_referencesMethod · 0.80
weak_countMethod · 0.80
drop_slow_innerMethod · 0.80

Calls 1

weakref_list_refMethod · 0.80

Tested by

no test coverage detected