Mercurial > vim
comparison src/if_python.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 |
comparison
equal
deleted
inserted
replaced
4396:57d8b1be2de5 | 4397:a84f21892563 |
---|---|
1217 PyObject *tmp; | 1217 PyObject *tmp; |
1218 /* The special value is removed from sys.path in Python_Init(). */ | 1218 /* The special value is removed from sys.path in Python_Init(). */ |
1219 static char *(argv[2]) = {"/must>not&exist/foo", NULL}; | 1219 static char *(argv[2]) = {"/must>not&exist/foo", NULL}; |
1220 | 1220 |
1221 /* Fixups... */ | 1221 /* Fixups... */ |
1222 PyType_Ready(&IterType); | |
1222 PyType_Ready(&BufferType); | 1223 PyType_Ready(&BufferType); |
1223 PyType_Ready(&RangeType); | 1224 PyType_Ready(&RangeType); |
1224 PyType_Ready(&WindowType); | 1225 PyType_Ready(&WindowType); |
1225 PyType_Ready(&BufMapType); | 1226 PyType_Ready(&BufMapType); |
1226 PyType_Ready(&WinListType); | 1227 PyType_Ready(&WinListType); |