# HG changeset patch
# User ZyX <[email protected]>
# Date 1369504060 -14400
# Node ID 8144426a1ffd077f23443e7de9e7c7c102395e6c
# Parent  d85c9583a4c924cfc80b2816c4fc3605a592e746
Fix IterIter function

diff -r d85c9583a4c9 -r 8144426a1ffd src/if_py_both.h
--- a/src/if_py_both.h  Sat May 25 17:47:19 2013 +0400
+++ b/src/if_py_both.h  Sat May 25 21:47:40 2013 +0400
@@ -814,6 +814,7 @@
     static PyObject *
 IterIter(PyObject *self)
 {
+    Py_INCREF(self);
     return self;
 }
 

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


*** /tmp/extdiff.VHM4vS/vim.d85c9583a4c9/src/if_py_both.h	2013-05-25 21:54:24.151366773 +0400
--- vim.8144426a1ffd/src/if_py_both.h	2013-05-25 21:54:24.157363718 +0400
***************
*** 814,819 ****
--- 814,820 ----
      static PyObject *
  IterIter(PyObject *self)
  {
+     Py_INCREF(self);
      return self;
  }
  

Raspunde prin e-mail lui