changeset 4605:38276cfe40b2 v7.3.1050

updated for version 7.3.1050 Problem: Python: Typo in pyiter_to_tv. Solution: Python patch 11. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Wed, 29 May 2013 22:46:26 +0200
parents a70df97b59ff
children 6e6f35424a47
files src/if_py_both.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -4196,7 +4196,7 @@ pyiter_to_tv(PyObject *obj, typval_T *tv
     if (iterator == NULL)
 	return -1;
 
-    while ((item = PyIter_Next(obj)))
+    while ((item = PyIter_Next(iterator)))
     {
 	li = listitem_alloc();
 	if (li == NULL)
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1050,
+/**/
     1049,
 /**/
     1048,