chiark
/
gitweb
/
~mdw
/
pyke
/ 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.
[pyke]
/
mapping.c
diff --git
a/mapping.c
b/mapping.c
index 04616e1a4760764e754fb1ef33241f5ef507470c..3ad1ac71ce8e8142c6f63625a52bba974ffbd7d3 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;
unsigned foundp;
int rc = -1;
- i = PyObject_CallMethod(map, "iteritems", 0);
+ v = PyObject_CallMethod(map, "iteritems", 0);
+ i = v; v = 0;
if (i) {
for (;;) {
if (i) {
for (;;) {