Mercurial > vim
diff src/if_python3.c @ 4397:a84f21892563 v7.3.947
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 15 May 2013 14:39:52 +0200 |
parents | 80eea7a9d6b9 |
children | a6f0544df95e |
line wrap: on
line diff
--- a/src/if_python3.c +++ b/src/if_python3.c @@ -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);