[][src]Function rustpython_wasm::__wasm_bindgen_generated_pyExec

pub extern "C" fn __wasm_bindgen_generated_pyExec(
    arg0: <str as RefFromWasmAbi>::Abi,
    arg1: <Option<Object> as FromWasmAbi>::Abi
) -> <Result<(), JsValue> as ReturnWasmAbi>::Abi

Evaluate Python code

pyExec(code, options?);

code: string: The Python code to run in exec mode

options: The options are the same as eval mode