Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ into_code_object
Method
into_code_object
crates/vm/src/builtins/code.rs:358–360 ·
view source on GitHub ↗
(self, _ctx: &Context)
Source
from the content-addressed store, hash-verified
356
357
impl IntoCodeObject for CodeObject {
358
fn into_code_object(self, _ctx: &Context) -> Self {
359
self
360
}
361
}
362
363
impl IntoCodeObject for bytecode::CodeObject {
Callers
1
new_code
Method · 0.80
Calls
3
PyObjBag
Class · 0.85
map_bag
Method · 0.80
decode
Method · 0.45
Tested by
no test coverage detected