Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
4396:57d8b1be2de5 | 4397:a84f21892563 |
---|---|
1517 PyObject *mod; | 1517 PyObject *mod; |
1518 PyObject *tmp; | 1518 PyObject *tmp; |
1519 /* The special value is removed from sys.path in Python3_Init(). */ | 1519 /* The special value is removed from sys.path in Python3_Init(). */ |
1520 static wchar_t *(argv[2]) = {L"/must>not&exist/foo", NULL}; | 1520 static wchar_t *(argv[2]) = {L"/must>not&exist/foo", NULL}; |
1521 | 1521 |
1522 PyType_Ready(&IterType); | |
1522 PyType_Ready(&BufferType); | 1523 PyType_Ready(&BufferType); |
1523 PyType_Ready(&RangeType); | 1524 PyType_Ready(&RangeType); |
1524 PyType_Ready(&WindowType); | 1525 PyType_Ready(&WindowType); |
1525 PyType_Ready(&BufMapType); | 1526 PyType_Ready(&BufMapType); |
1526 PyType_Ready(&WinListType); | 1527 PyType_Ready(&WinListType); |