mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Use existing unbound_local_error label in DELETE_FAST opcode (GH-30882)
This commit is contained in:
parent
d0c690b5f8
commit
1e8a3a5579
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue