summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 0a6fc4a..29ca5e3 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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) {