1
0
forked from aniani/vim

updated for version 7.3.947

Problem:    Python: No iterator for vim.list and vim.bufferlist.
Solution:   Add the iterators. Also fix name of FunctionType. Add tests for
            vim.buffers.  (ZyX)
This commit is contained in:
Bram Moolenaar
2013-05-15 14:39:52 +02:00
parent 46a7561f3a
commit b6c589a529
11 changed files with 361 additions and 48 deletions

View File

@@ -1519,6 +1519,7 @@ Py3Init_vim(void)
/* The special value is removed from sys.path in Python3_Init(). */
static wchar_t *(argv[2]) = {L"/must>not&exist/foo", NULL};
PyType_Ready(&IterType);
PyType_Ready(&BufferType);
PyType_Ready(&RangeType);
PyType_Ready(&WindowType);