MCPcopy 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
357impl IntoCodeObject for CodeObject {
358 fn into_code_object(self, _ctx: &Context) -> Self {
359 self
360 }
361}
362
363impl IntoCodeObject for bytecode::CodeObject {

Callers 1

new_codeMethod · 0.80

Calls 3

PyObjBagClass · 0.85
map_bagMethod · 0.80
decodeMethod · 0.45

Tested by

no test coverage detected