Mercurial > vim
comparison src/if_py_both.h @ 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 | 074491a83571 |
children | 70600448f9e7 |
comparison
equal
deleted
inserted
replaced
4604:a70df97b59ff | 4605:38276cfe40b2 |
---|---|
4194 | 4194 |
4195 | 4195 |
4196 if (iterator == NULL) | 4196 if (iterator == NULL) |
4197 return -1; | 4197 return -1; |
4198 | 4198 |
4199 while ((item = PyIter_Next(obj))) | 4199 while ((item = PyIter_Next(iterator))) |
4200 { | 4200 { |
4201 li = listitem_alloc(); | 4201 li = listitem_alloc(); |
4202 if (li == NULL) | 4202 if (li == NULL) |
4203 { | 4203 { |
4204 PyErr_NoMemory(); | 4204 PyErr_NoMemory(); |