diff --git a/Python/ceval.c b/Python/ceval.c index 3ca1e3e2834..5a8f503eb78 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2217,8 +2217,8 @@ eval_frame(PyFrameObject *f) if (b->b_type == SETUP_LOOP && why == WHY_CONTINUE) { /* For a continue inside a try block, don't pop the block for the loop. */ - PyFrame_BlockSetup(f, b->b_type, b->b_level, - b->b_handler); + PyFrame_BlockSetup(f, b->b_type, b->b_handler, + b->b_level); why = WHY_NOT; JUMPTO(PyInt_AS_LONG(retval)); Py_DECREF(retval);