summaryrefslogtreecommitdiffstats
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-15 14:39:52 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-15 14:39:52 +0200
commitb6c589a529bc8c5720477494696c6f69fe457475 (patch)
treefa6f512190cb15fa5a0a3186312ede6115881e61 /src/if_python3.c
parent46a7561f3a151fefc469225d41822dd0be292f98 (diff)
updated for version 7.3.947v7.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)
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 28820ae808..cae18c25e2 100644
--- 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);