diff options
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 312600d..422a2af 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -3340,7 +3340,6 @@ optimize(c) name = GETNAMEOBJ(oparg); v = PyDict_GetItem(c->c_locals, name); if (v == NULL) { - PyErr_Clear(); if (opcode == LOAD_NAME && (c->c_flags&CO_OPTIMIZED)) cur_instr[0] = LOAD_GLOBAL; |