mirror of https://github.com/python/cpython
Use existing unbound_local_error label in DELETE_FAST opcode (GH-30882)
This commit is contained in:
parent
d0c690b5f8
commit
1e8a3a5579
|
@ -3107,12 +3107,7 @@ handle_eval_breaker:
|
||||||
SETLOCAL(oparg, NULL);
|
SETLOCAL(oparg, NULL);
|
||||||
DISPATCH();
|
DISPATCH();
|
||||||
}
|
}
|
||||||
format_exc_check_arg(
|
goto unbound_local_error;
|
||||||
tstate, PyExc_UnboundLocalError,
|
|
||||||
UNBOUNDLOCAL_ERROR_MSG,
|
|
||||||
PyTuple_GetItem(frame->f_code->co_localsplusnames, oparg)
|
|
||||||
);
|
|
||||||
goto error;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TARGET(MAKE_CELL) {
|
TARGET(MAKE_CELL) {
|
||||||
|
|
Loading…
Reference in New Issue