diff options
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 4331786..ff5ee50 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1360,9 +1360,7 @@ eval_code2(co, globals, locals, if (x != NULL) { for (; --oparg >= 0;) { w = POP(); - err = PyList_SetItem(x, oparg, w); - if (err != 0) - break; + PyList_SET_ITEM(x, oparg, w); } PUSH(x); continue; |