Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_imported
Method
is_imported
crates/vm/src/stdlib/_symtable.rs:273–275 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
271
272
#[pymethod]
273
const fn is_imported(&self) -> bool {
274
self.symbol.flags.contains(SymbolFlags::IMPORTED)
275
}
276
277
#[pymethod]
278
const fn is_nested(&self) -> bool {
Callers
nothing calls this directly
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected