summaryrefslogtreecommitdiff
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-15 16:04:40 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-15 16:04:40 +0200
commitd5f729cada4129ceb8296b86390c38021684c75f (patch)
treea970a59306199cd8d205ee490e01d3f7e3172fac /src/if_python3.c
parente761459eb69597ee4099cf384b69d6f94b2ab8f0 (diff)
downloadvim-git-d5f729cada4129ceb8296b86390c38021684c75f.tar.gz
updated for version 7.3.953v7.3.953
Problem: Python: string exceptions are deprecated. Solution: Make vim.error an Exception subclass. (ZyX)
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 02da1b0c4..2f98a0462 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -1606,8 +1606,8 @@ Py3Init_vim(void)
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);