*.[ch]: Some preparatory reformatting for the Python 3 porting.
[pyke] / mapping.c
index 04616e1..3ad1ac7 100644 (file)
--- a/mapping.c
+++ b/mapping.c
@@ -493,7 +493,8 @@ static int update_core(PyObject *me, PyObject *map)
   unsigned foundp;
   int rc = -1;
 
-  i = PyObject_CallMethod(map, "iteritems", 0);
+  v = PyObject_CallMethod(map, "iteritems", 0);
+  i = v; v = 0;
 
   if (i) {
     for (;;) {