diff options
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r-- | src/if_py_both.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index 1cb8f9969..29d282076 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -814,6 +814,7 @@ IterNext(IterObject *self) static PyObject * IterIter(PyObject *self) { + Py_INCREF(self); return self; } |