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

Method is_nonlocal

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

Source from the content-addressed store, hash-verified

282
283 #[pymethod]
284 const fn is_nonlocal(&self) -> bool {
285 self.symbol.flags.contains(SymbolFlags::NONLOCAL)
286 }
287
288 #[pymethod]
289 const fn is_referenced(&self) -> bool {

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected