~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*.[ch]: Some preparatory reformatting for the Python 3 porting.
[catacomb-python]
/
pyke
/
mapping.c
diff --git
a/pyke/mapping.c
b/pyke/mapping.c
index
04616e1
..
3ad1ac7
100644
(file)
--- a/
pyke/mapping.c
+++ b/
pyke/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 (;;) {