Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ make_code
Method
make_code
crates/vm/src/builtins/code.rs:346–348 ·
view source on GitHub ↗
(&self, code: CodeObject)
Source
from the content-addressed store, hash-verified
344
}
345
346
fn make_code(&self, code: CodeObject) -> Self::Constant {
347
Literal(self.0.new_code(code).into())
348
}
349
}
350
351
pub type CodeObject = bytecode::CodeObject<Literal>;
Callers
nothing calls this directly
Calls
2
Literal
Class · 0.70
new_code
Method · 0.45
Tested by
no test coverage detected