updated for version 7.3.953
Problem: Python: string exceptions are deprecated.
Solution: Make vim.error an Exception subclass. (ZyX)
diff --git a/src/if_python3.c b/src/if_python3.c
index 02da1b0..2f98a04 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -1606,8 +1606,8 @@
return NULL;
VimError = PyErr_NewException("vim.error", NULL, NULL);
- Py_INCREF(VimError);
+ Py_INCREF(VimError);
PyModule_AddObject(mod, "error", VimError);
Py_INCREF((PyObject *)(void *)&TheBufferMap);
PyModule_AddObject(mod, "buffers", (PyObject *)(void *)&TheBufferMap);