mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-07 02:30:17 +00:00
...
This commit is contained in:
parent
755140084a
commit
0f7dce130c
@ -82,6 +82,7 @@ inline PyObject* Generator::next(){
|
||||
for(PyObject* obj: frame.stack_view()) s_backup.push_back(obj);
|
||||
vm->_pop_frame();
|
||||
state = 1;
|
||||
if(ret == vm->StopIteration) state = 2;
|
||||
return ret;
|
||||
}else{
|
||||
state = 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user