[−][src]Function rustpython_wasm::__wasm_bindgen_generated_pyExecSingle
pub extern "C" fn __wasm_bindgen_generated_pyExecSingle(
arg0: <str as RefFromWasmAbi>::Abi,
arg1: <Option<Object> as FromWasmAbi>::Abi
) -> <Result<JsValue, JsValue> as ReturnWasmAbi>::Abi
Evaluate Python code
var result = pyExecSingle(code, options?);
code
: string
: The Python code to run in exec single mode
options
: The options are the same as eval mode