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

Method is_namespace

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

Source from the content-addressed store, hash-verified

307
308 #[pymethod]
309 const fn is_namespace(&self) -> bool {
310 !self.namespaces.is_empty()
311 }
312
313 #[pymethod]
314 const fn is_annotated(&self) -> bool {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected