summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/symtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 644d9c5..99f4191 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -468,7 +468,7 @@ analyze_cells(PyObject *scope, PyObject *free)
*/
if (PyDict_SetItem(scope, name, w) < 0)
goto error;
- if (!PyDict_DelItem(free, name) < 0)
+ if (PyDict_DelItem(free, name) < 0)
goto error;
}
success = 1;