From 2e39d5755d480491109978fb264ee777fa932d8f Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 21 Oct 2003 18:15:44 +0000 Subject: Backport removal of bogus Py_DECREF() and indentation fix. --- Objects/frameobject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Objects/frameobject.c b/Objects/frameobject.c index bdff3c4..99defb9 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -744,11 +744,10 @@ PyFrame_FastToLocals(PyFrameObject *f) if (j > f->f_nlocals) j = f->f_nlocals; if (f->f_nlocals) - map_to_dict(map, j, locals, fast, 0); + map_to_dict(map, j, locals, fast, 0); if (f->f_ncells || f->f_nfreevars) { if (!(PyTuple_Check(f->f_code->co_cellvars) && PyTuple_Check(f->f_code->co_freevars))) { - Py_DECREF(locals); return; } map_to_dict(f->f_code->co_cellvars, -- cgit v0.12