Skip to main content

script_code

Function script_code 

Source
pub fn script_code(
    obj: &PyObject,
    vm: &VirtualMachine,
) -> PyResult<PyRef<PyCode>>
Expand description

Extract a script code object from source text / function / code object.