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

Method is_referenced

crates/vm/src/stdlib/_symtable.rs:289–291  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

287
288 #[pymethod]
289 const fn is_referenced(&self) -> bool {
290 self.symbol.flags.contains(SymbolFlags::REFERENCED)
291 }
292
293 #[pymethod]
294 const fn is_assigned(&self) -> bool {

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected