mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
fix format.
This commit is contained in:
parent
f937fc1da8
commit
435ded95b5
@ -554,7 +554,7 @@ PyVar VM::__py_exec_internal(const CodeObject_& code, PyVar globals, PyVar local
|
|||||||
PyVar retval = nullptr;
|
PyVar retval = nullptr;
|
||||||
|
|
||||||
if(locals == vm->None){
|
if(locals == vm->None){
|
||||||
retval = vm->_exec(code, globals_obj); // only globals
|
retval = vm->_exec(code, globals_obj); // only globals
|
||||||
}else{
|
}else{
|
||||||
check_compatible_type(locals, VM::tp_dict);
|
check_compatible_type(locals, VM::tp_dict);
|
||||||
locals_dict = &PK_OBJ_GET(Dict, locals);
|
locals_dict = &PK_OBJ_GET(Dict, locals);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user