Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ class
Method
class
crates/vm/src/builtins/namespace.rs:23–25 ·
view source on GitHub ↗
(ctx: &Context)
Source
from the content-addressed store, hash-verified
21
impl PyPayload for PyNamespace {
22
#[inline]
23
fn class(ctx: &Context) -> &'static Py<PyType> {
24
ctx.types.namespace_type
25
}
26
}
27
28
impl DefaultConstructor for PyNamespace {}
Callers
3
__reduce__
Method · 0.45
__replace__
Method · 0.45
repr_wtf8
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected