summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 65aad61def..37a41687fb 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1709,18 +1709,6 @@ eval_code2(co, globals, locals,
--recursion_depth;
fail: /* Jump here from prelude on failure */
-
- /* Kill all local variables */
-
- {
- int i;
- for (i = co->co_nlocals; --i >= 0; ++fastlocals) {
- if (*fastlocals != NULL) {
- DECREF(*fastlocals);
- *fastlocals = NULL;
- }
- }
- }
/* Restore previous frame and release the current one */