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);
|
||||
DISPATCH();
|
||||
}
|
||||
format_exc_check_arg(
|
||||
tstate, PyExc_UnboundLocalError,
|
||||
UNBOUNDLOCAL_ERROR_MSG,
|
||||
PyTuple_GetItem(frame->f_code->co_localsplusnames, oparg)
|
||||
);
|
||||
goto error;
|
||||
goto unbound_local_error;
|
||||
}
|
||||
|
||||
TARGET(MAKE_CELL) {
|
||||
|
|
Loading…
Reference in New Issue